Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 71.88 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.889, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003519/0.8926, allocations: 1.481 MB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.8937, allocations: 452.4 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.8937, allocations: 0 / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.8938, allocations: 3.938 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.8938, allocations: 11.92 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.894, allocations: 27.91 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.8941, allocations: 47.91 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.8942, allocations: 8 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.8943, allocations: 27.86 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.8944, allocations: 19.91 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.8944, allocations: 8 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.8944, allocations: 7.938 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.8944, allocations: 15.92 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.8945, allocations: 23.92 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.8946, allocations: 38.5 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8946, allocations: 0 / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8946, allocations: 4 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8946, allocations: 0 / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006003/0.8952, allocations: 363.3 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8953, allocations: 12.03 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.8953, allocations: 8.938 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.8955, allocations: 176.3 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.8955, allocations: 384 / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.8955, allocations: 4.375 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.8956, allocations: 65.98 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8957, allocations: 0 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8957, allocations: 0 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8957, allocations: 0 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.8957, allocations: 27.92 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.8963, allocations: 304.7 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.8964, allocations: 50.59 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.8964, allocations: 28.94 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.8964, allocations: 0 / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.8967, allocations: 75.34 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.8967, allocations: 0 / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002438/0.8969, allocations: 97.89 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.897, allocations: 55.5 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.8971, allocations: 113.8 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.8971, allocations: 33.7 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.8972, allocations: 92.06 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.8972, allocations: 19.86 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.8973, allocations: 29.7 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8974, allocations: 322.7 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.8975, allocations: 19.98 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.8975, allocations: 47.36 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.8976, allocations: 71.41 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8977, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001537/0.8978, allocations: 93.56 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8978, allocations: 8 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8978, allocations: 4.062 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8978, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.8979, allocations: 15.94 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8979, allocations: 7.984 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.898, allocations: 4 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.898, allocations: 8.031 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.8981, allocations: 125.1 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.8982, allocations: 7.953 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.8982, allocations: 11.95 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8982, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8982, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8982, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.8987, allocations: 362.4 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8987, allocations: 4 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.8987, allocations: 7.938 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8987, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8987, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.8987, allocations: 11.86 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8987, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.899, allocations: 183.5 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.8991, allocations: 81.11 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.8991, allocations: 7.984 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.8992, allocations: 7.938 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.8993, allocations: 11.98 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.8993, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.8993, allocations: 87.34 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8993, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002585/0.8996, allocations: 15.95 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.8997, allocations: 98.2 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.8999, allocations: 55.92 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8999, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.9, allocations: 27.92 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.9002, allocations: 9.875 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.9007, allocations: 173.2 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.9012, allocations: 0.6846 MB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.9012, allocations: 7.984 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.9012, allocations: 11.44 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.9012, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.003799/0.905, allocations: 0.8026 MB / 1.281 GB, free: 13.11 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.062911636661738]