Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001106/0.001106, allocations: 176 kB / 0.4902 GB, free: 2.207 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.662/1.662, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009498/0.00095, allocations: 104.3 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 14.34 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3461, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.5533, allocations: 151.6 MB / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.5537, allocations: 75.95 kB / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.5704, allocations: 5.486 MB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5705, allocations: 0 / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.5705, allocations: 7.984 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009211/0.5714, allocations: 0.5688 MB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5715, allocations: 12.56 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5716, allocations: 35.67 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.572, allocations: 255.4 kB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.5721, allocations: 28.31 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.5722, allocations: 39.98 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.5725, allocations: 172.2 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.5725, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5726, allocations: 15.92 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.5726, allocations: 8 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.5728, allocations: 120.4 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.5739, allocations: 0.6211 MB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.5743, allocations: 204.7 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.5743, allocations: 0 / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/0.5748, allocations: 266.7 kB / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.164e-06/0.5748, allocations: 0 / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.0007757/0.5756, allocations: 428.7 kB / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.5757, allocations: 63.62 kB / 1.385 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.5759, allocations: 178 kB / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.576, allocations: 45.64 kB / 1.386 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5761, allocations: 140.8 kB / 1.386 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.5762, allocations: 94.88 kB / 1.386 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.5763, allocations: 16 kB / 1.386 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5764, allocations: 334.8 kB / 1.386 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.5768, allocations: 165 kB / 1.386 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.5772, allocations: 271.3 kB / 1.387 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.5776, allocations: 245.8 kB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5776, allocations: 4 kB / 1.387 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001032/0.5786, allocations: 0.596 MB / 1.387 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.5787, allocations: 105.1 kB / 1.388 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5787, allocations: 4 kB / 1.388 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.5788, allocations: 12.05 kB / 1.388 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5789, allocations: 43.86 kB / 1.388 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.579, allocations: 7.938 kB / 1.388 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.5796, allocations: 135.7 kB / 1.388 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.5796, allocations: 39.97 kB / 1.388 GB, free: 6.688 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002305/0.5799, allocations: 175 kB / 1.388 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.5799, allocations: 27.66 kB / 1.388 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.58, allocations: 26.59 kB / 1.388 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.58, allocations: 4 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.58, allocations: 3.953 kB / 1.388 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.5801, allocations: 3.984 kB / 1.388 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5811, allocations: 0.7215 MB / 1.389 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5811, allocations: 0 / 1.389 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.5812, allocations: 11.98 kB / 1.389 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5812, allocations: 4 kB / 1.389 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.5812, allocations: 15.94 kB / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5812, allocations: 0 / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5812, allocations: 96 / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.5818, allocations: 442.8 kB / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.5819, allocations: 96.86 kB / 1.389 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.5819, allocations: 11.98 kB / 1.389 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.582, allocations: 15.94 kB / 1.389 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.5821, allocations: 27.95 kB / 1.389 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.5821, allocations: 16 kB / 1.389 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001071/0.5823, allocations: 128.1 kB / 1.389 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5823, allocations: 8 kB / 1.389 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004438/0.5827, allocations: 103.9 kB / 1.39 GB, free: 4.762 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.000232/0.583, allocations: 121.4 kB / 1.39 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007626/0.5837, allocations: 0.5567 MB / 1.39 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5837, allocations: 4.188 kB / 1.39 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.584, allocations: 151.9 kB / 1.39 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.5843, allocations: 28.16 kB / 1.39 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.5851, allocations: 477.8 kB / 1.391 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5855, allocations: 0.7569 MB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.5856, allocations: 34.95 kB / 1.392 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.5857, allocations: 23.44 kB / 1.392 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of SimCode: time 4.6e-07/0.5857, allocations: 0 / 1.392 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of Templates: time 0.009722/0.5954, allocations: 3.576 MB / 1.395 GB, free: 14.98 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches