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.297/2.297, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.00113/0.001129, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.00101/0.00101, allocations: 95.95 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.382e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3744, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.548, allocations: 151.6 MB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/1.549, allocations: 78.27 kB / 1.367 GB, free: 2.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01721/1.566, allocations: 5.471 MB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.797e-06/1.566, allocations: 0 / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.331e-05/1.566, allocations: 4.219 kB / 1.372 GB, free: 13.65 MB / 0.8386 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.001116/1.567, allocations: 0.5511 MB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/1.567, allocations: 12.03 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/1.568, allocations: 35.67 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/1.568, allocations: 253 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/1.568, allocations: 24.06 kB / 1.373 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/1.568, allocations: 35.12 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/1.569, allocations: 177.7 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.569, allocations: 4 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/1.569, allocations: 14.42 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/1.569, allocations: 4 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/1.569, allocations: 115.7 kB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/1.57, allocations: 0.6309 MB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/1.571, allocations: 199.7 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/1.571, allocations: 81.66 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/1.571, allocations: 12.22 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/1.571, allocations: 251.2 kB / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/1.571, allocations: 0 / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006807/1.572, allocations: 331.7 kB / 1.375 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.572, allocations: 71.14 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/1.572, allocations: 171.4 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/1.572, allocations: 48.89 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.573, allocations: 134.5 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.681e-05/1.573, allocations: 88.33 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/1.573, allocations: 11.31 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.573, allocations: 336.9 kB / 1.376 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/1.573, allocations: 151.7 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/1.574, allocations: 269 kB / 1.376 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/1.574, allocations: 249.2 kB / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.574, allocations: 0 / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001046/1.575, allocations: 0.5891 MB / 1.377 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.575, allocations: 107.2 kB / 1.377 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.575, allocations: 4.375 kB / 1.377 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.575, allocations: 8 kB / 1.377 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/1.575, allocations: 39.73 kB / 1.377 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/1.575, allocations: 11.94 kB / 1.377 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/1.576, allocations: 128.9 kB / 1.377 GB, free: 9.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/1.576, allocations: 31.48 kB / 1.377 GB, free: 9.004 MB / 0.8386 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 () * 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.0001916/1.576, allocations: 167.5 kB / 1.377 GB, free: 8.852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/1.576, allocations: 27.7 kB / 1.377 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/1.577, allocations: 28.23 kB / 1.377 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.577, allocations: 4 kB / 1.377 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.577, allocations: 0 / 1.377 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.577, allocations: 3.984 kB / 1.377 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.578, allocations: 0.7196 MB / 1.378 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/1.578, allocations: 0 / 1.378 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/1.578, allocations: 15.89 kB / 1.378 GB, free: 8.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.578, allocations: 7.938 kB / 1.378 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/1.578, allocations: 15.28 kB / 1.378 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.578, allocations: 7.984 kB / 1.378 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.578, allocations: 0 / 1.378 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/1.578, allocations: 430.6 kB / 1.379 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/1.578, allocations: 100.8 kB / 1.379 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/1.579, allocations: 15.62 kB / 1.379 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/1.579, allocations: 13.61 kB / 1.379 GB, free: 7.594 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/1.579, allocations: 23.47 kB / 1.379 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/1.579, allocations: 19.45 kB / 1.379 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00011/1.579, allocations: 129.7 kB / 1.379 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.579, allocations: 0 / 1.379 GB, free: 7.445 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004786/1.579, allocations: 96.36 kB / 1.379 GB, free: 7.363 MB / 0.8386 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) * 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.0002484/1.58, allocations: 136.2 kB / 1.379 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008232/1.58, allocations: 0.5508 MB / 1.38 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.58, allocations: 0 / 1.38 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.581, allocations: 147.7 kB / 1.38 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/1.581, allocations: 30.77 kB / 1.38 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/1.582, allocations: 308.5 kB / 1.38 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/1.582, allocations: 0.7529 MB / 1.381 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.316e-05/1.582, allocations: 26.97 kB / 1.381 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/1.582, allocations: 27.38 kB / 1.381 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.582, allocations: 0 / 1.381 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of Templates: time 0.009343/1.592, allocations: 3.581 MB / 1.384 GB, free: 1.969 MB / 0.8386 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