Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.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_9_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_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.0009951/0.0009951, allocations: 176.8 kB / 487.4 MB, free: 5.047 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.401/1.401, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008985, allocations: 102.1 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.818e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9115/1.175, allocations: 150.1 MB / 1.353 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.175, allocations: 82.25 kB / 1.353 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01499/1.19, allocations: 5.445 MB / 1.358 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.19, allocations: 0 / 1.358 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.366e-05/1.19, allocations: 3.875 kB / 1.358 GB, free: 33.78 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.0008394/1.191, allocations: 0.5464 MB / 1.358 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.191, allocations: 11.69 kB / 1.358 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/1.192, allocations: 37.7 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/1.192, allocations: 255.7 kB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/1.192, allocations: 10.8 kB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/1.192, allocations: 34.5 kB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002081/1.192, allocations: 91.83 kB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/1.192, allocations: 156.3 kB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.193, allocations: 0 / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/1.193, allocations: 3 kB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.193, allocations: 7.906 kB / 1.359 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/1.193, allocations: 0.5922 MB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/1.194, allocations: 177 kB / 1.36 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/1.194, allocations: 74.39 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.194, allocations: 3.984 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/1.194, allocations: 251.7 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.834e-06/1.194, allocations: 0 / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004571/1.195, allocations: 305.5 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/1.195, allocations: 63.72 kB / 1.36 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.195, allocations: 167.8 kB / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/1.195, allocations: 36.27 kB / 1.361 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.195, allocations: 134.6 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/1.195, allocations: 83.91 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/1.195, allocations: 3.812 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.195, allocations: 338.8 kB / 1.361 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.196, allocations: 136.2 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/1.196, allocations: 252.6 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/1.196, allocations: 163.1 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.196, allocations: 3.875 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009298/1.197, allocations: 492.2 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/1.197, allocations: 100.4 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.197, allocations: 3.875 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/1.197, allocations: 7.812 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/1.198, allocations: 48.83 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.068e-06/1.198, allocations: 7.859 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/1.198, allocations: 129.7 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/1.198, allocations: 39.91 kB / 1.363 GB, free: 31.58 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.0001428/1.198, allocations: 138.9 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/1.198, allocations: 28.97 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/1.198, allocations: 22.83 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.198, allocations: 9.5 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.198, allocations: 3.875 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/1.198, allocations: 6.156 kB / 1.363 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/1.199, allocations: 0.6459 MB / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.199, allocations: 0 / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/1.199, allocations: 15.47 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/1.199, allocations: 3.469 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.199, allocations: 11.39 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/1.199, allocations: 3.875 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.199, allocations: 3.953 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/1.2, allocations: 408 kB / 1.364 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/1.2, allocations: 92.7 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/1.2, allocations: 14 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/1.2, allocations: 6.969 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/1.2, allocations: 24.19 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/1.2, allocations: 26.33 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.635e-05/1.2, allocations: 118.6 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.2, allocations: 3.938 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004035/1.2, allocations: 90.94 kB / 1.364 GB, free: 30.79 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.00016/1.201, allocations: 134.6 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005292/1.201, allocations: 0.5102 MB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.201, allocations: 0 / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/1.201, allocations: 134.3 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/1.202, allocations: 21.72 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/1.202, allocations: 290.6 kB / 1.365 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/1.202, allocations: 0.7489 MB / 1.366 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.048e-05/1.202, allocations: 33.39 kB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/1.203, allocations: 29.86 kB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.203, allocations: 3.938 kB / 1.366 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.006408/1.209, allocations: 3.349 MB / 1.369 GB, free: 29.36 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches