Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.629/2.629, allocations: 390.3 MB / 405.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 173.2 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 84.88 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.4728, allocations: 150 MB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.473, allocations: 79.89 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00368/0.4767, allocations: 1.406 MB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4767, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4767, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 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.0004082/0.4771, allocations: 355.2 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4772, allocations: 16.03 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.4772, allocations: 3.906 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4773, allocations: 178.9 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4774, allocations: 4 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.4774, allocations: 4 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4775, allocations: 57.62 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4775, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4775, allocations: 7.969 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4775, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.195e-05/0.4776, allocations: 31.92 kB / 1.371 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.4781, allocations: 300.8 kB / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.4782, allocations: 50.56 kB / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.4783, allocations: 8.031 kB / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.4784, allocations: 75.5 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.4784, allocations: 0 / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0002168/0.4786, allocations: 105.6 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.4787, allocations: 51.41 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.4788, allocations: 97 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4788, allocations: 25.7 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.4789, allocations: 104 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.4789, allocations: 19.66 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4789, allocations: 4 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.479, allocations: 318.8 kB / 1.373 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.479, allocations: 12 kB / 1.373 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.4791, allocations: 47.36 kB / 1.373 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.4792, allocations: 24 kB / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4792, allocations: 0 / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001268/0.4793, allocations: 89.61 kB / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4793, allocations: 8 kB / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4793, allocations: 0 / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4793, allocations: 0 / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.4794, allocations: 15.92 kB / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4794, allocations: 8.328 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.4795, allocations: 8 kB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.4795, allocations: 8.031 kB / 1.373 GB, free: 8.512 MB / 0.8698 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.803e-05/0.4796, allocations: 125.8 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.4796, allocations: 7.844 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.4797, allocations: 7.969 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4797, allocations: 4 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4797, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4797, allocations: 3.953 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.4801, allocations: 370.4 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4801, allocations: 288 / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.4801, allocations: 8 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4801, allocations: 3.984 kB / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.4801, allocations: 0 / 1.373 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4801, allocations: 7.953 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4801, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.4803, allocations: 183.5 kB / 1.373 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.4804, allocations: 85 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.4804, allocations: 3.938 kB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.4805, allocations: 8 kB / 1.374 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4805, allocations: 11.94 kB / 1.374 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4805, allocations: 7.984 kB / 1.374 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.4806, allocations: 79.28 kB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4806, allocations: 0 / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002113/0.4808, allocations: 20 kB / 1.374 GB, free: 7.488 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.726e-05/0.4809, allocations: 99.03 kB / 1.374 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.481, allocations: 59.84 kB / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.481, allocations: 0 / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.4811, allocations: 24.12 kB / 1.374 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.4813, allocations: 15.98 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.4815, allocations: 152.5 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4818, allocations: 0.6887 MB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.4818, allocations: 7.984 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.4819, allocations: 11.44 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.4819, allocations: 0 / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of Templates: time 0.002477/0.4844, allocations: 0.6576 MB / 1.375 GB, free: 5.723 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches