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.325/2.325, allocations: 390.5 MB / 398 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.001418/0.001418, allocations: 179.2 kB / 491.2 MB, free: 1.602 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.79/1.79, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001043/0.001043, allocations: 99.88 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.549, allocations: 150.9 MB / 1.36 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.549, allocations: 76.27 kB / 1.36 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01624/1.565, allocations: 5.449 MB / 1.365 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.863e-06/1.566, allocations: 0 / 1.365 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.736e-05/1.566, allocations: 4.062 kB / 1.365 GB, free: 32.91 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.0009743/1.567, allocations: 0.5483 MB / 1.366 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/1.567, allocations: 11.09 kB / 1.366 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/1.567, allocations: 39.02 kB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/1.567, allocations: 257.5 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/1.567, allocations: 10.5 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/1.567, allocations: 29.8 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002133/1.568, allocations: 93.09 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/1.568, allocations: 152.1 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.568, allocations: 0 / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/1.568, allocations: 9.438 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.568, allocations: 7.797 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/1.569, allocations: 0.5854 MB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/1.569, allocations: 186.8 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/1.569, allocations: 80.03 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/1.569, allocations: 0 / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/1.57, allocations: 248.6 kB / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/1.57, allocations: 0 / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005743/1.57, allocations: 306.7 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.57, allocations: 62.81 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/1.57, allocations: 166.6 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/1.571, allocations: 36.77 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.571, allocations: 128.9 kB / 1.368 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/1.571, allocations: 85.72 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/1.571, allocations: 3.844 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.571, allocations: 339 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/1.571, allocations: 136.6 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/1.572, allocations: 252.2 kB / 1.369 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/1.572, allocations: 168 kB / 1.369 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.572, allocations: 3.812 kB / 1.369 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009417/1.573, allocations: 489.9 kB / 1.369 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/1.573, allocations: 101.8 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.573, allocations: 3.906 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/1.573, allocations: 7.844 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/1.573, allocations: 48.19 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.573, allocations: 3.875 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/1.574, allocations: 124.1 kB / 1.37 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/1.574, allocations: 37.98 kB / 1.37 GB, free: 30.73 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.000166/1.574, allocations: 153.7 kB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/1.574, allocations: 27.06 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/1.574, allocations: 23.67 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.574, allocations: 3.844 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.574, allocations: 3.953 kB / 1.37 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.574, allocations: 10.48 kB / 1.37 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/1.575, allocations: 0.6419 MB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.575, allocations: 3.906 kB / 1.37 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/1.575, allocations: 14.23 kB / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.575, allocations: 0 / 1.37 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/1.575, allocations: 14.17 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.575, allocations: 7.828 kB / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.575, allocations: 6.438 kB / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/1.576, allocations: 396.9 kB / 1.371 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/1.576, allocations: 96.61 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/1.576, allocations: 10.44 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/1.576, allocations: 9.234 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/1.576, allocations: 30.89 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/1.576, allocations: 17.83 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001023/1.576, allocations: 116.6 kB / 1.371 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.576, allocations: 0 / 1.371 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004139/1.576, allocations: 84.69 kB / 1.371 GB, free: 29.93 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.0001985/1.577, allocations: 129.2 kB / 1.371 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006055/1.577, allocations: 0.515 MB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.577, allocations: 192 / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/1.577, allocations: 133.4 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/1.578, allocations: 28.42 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/1.578, allocations: 288.8 kB / 1.372 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/1.579, allocations: 0.7537 MB / 1.373 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.4e-05/1.579, allocations: 31.27 kB / 1.373 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/1.579, allocations: 26.84 kB / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.579, allocations: 192 / 1.373 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.007064/1.586, allocations: 3.344 MB / 1.376 GB, free: 28.51 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