Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001048, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008637/0.0008637, allocations: 86.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.622e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2232, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7318/0.9551, allocations: 132 MB / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.9554, allocations: 78.31 kB / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006422/0.9618, allocations: 2.271 MB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9618, allocations: 0 / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.9619, allocations: 4 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007751/0.9626, allocations: 478.4 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.9627, allocations: 8.219 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.9628, allocations: 27.77 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.9631, allocations: 225.5 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.9632, allocations: 19.38 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.9632, allocations: 31.38 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.9636, allocations: 170.2 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9636, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.9636, allocations: 11.86 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.9636, allocations: 7.984 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.9639, allocations: 117.5 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.9649, allocations: 0.5519 MB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.9653, allocations: 220.6 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.9654, allocations: 99.48 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.9654, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.9659, allocations: 254.4 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.634e-06/0.9659, allocations: 3.938 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0005568/0.9664, allocations: 321.9 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.9665, allocations: 66.77 kB / 1.026 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9667, allocations: 145.4 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.9667, allocations: 44.7 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.9668, allocations: 114.6 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.9669, allocations: 87.94 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.9669, allocations: 15.69 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9671, allocations: 332.6 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.9672, allocations: 89.19 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.9674, allocations: 144.8 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.9676, allocations: 98.59 kB / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9676, allocations: 0 / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004622/0.9681, allocations: 312 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9681, allocations: 5.562 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9681, allocations: 4 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9681, allocations: 7.938 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.9683, allocations: 43.36 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.9683, allocations: 7.984 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.9685, allocations: 50.94 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.9686, allocations: 18.95 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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 0.0001368/0.9687, allocations: 147.9 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.9687, allocations: 27.7 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.9688, allocations: 24.62 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9688, allocations: 4 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9688, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.9688, allocations: 11.98 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.9698, allocations: 0.743 MB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9699, allocations: 0 / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.9699, allocations: 19.92 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.97, allocations: 4 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.97, allocations: 11.86 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.97, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.97, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.9706, allocations: 429.7 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.9707, allocations: 96.86 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.9707, allocations: 14.92 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.9709, allocations: 30.53 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.971, allocations: 38.56 kB / 1.029 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.9711, allocations: 19.42 kB / 1.029 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.5e-05/0.9712, allocations: 116 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9712, allocations: 3.938 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002822/0.9714, allocations: 62.5 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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 0.0002054/0.9717, allocations: 133.3 kB / 1.029 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.9721, allocations: 271.4 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9721, allocations: 0 / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.9724, allocations: 154.8 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.9727, allocations: 37.41 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.9733, allocations: 307.5 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.9737, allocations: 0.7412 MB / 1.03 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000108/0.9738, allocations: 30.97 kB / 1.03 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.9739, allocations: 23.44 kB / 1.03 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.9739, allocations: 0 / 1.03 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of Templates: time 0.005593/0.9795, allocations: 2.327 MB / 1.033 GB, free: 7.562 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches