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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.84/1.84, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 182.7 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.3 MB / 0.7819 GB, free: 6.805 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 97.66 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.939e-06/9.968e-06, allocations: 4 kB / 1.066 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7433, allocations: 142.3 MB / 1.205 GB, free: 72.91 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.9331, allocations: 150 MB / 1.352 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.9334, allocations: 79.94 kB / 1.352 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.01538/0.9488, allocations: 5.171 MB / 1.357 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.9488, allocations: 4 kB / 1.357 GB, free: 8.074 MB / 0.8542 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.0006424/0.9495, allocations: 0.5433 MB / 1.357 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.9495, allocations: 8.031 kB / 1.357 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.9496, allocations: 35.66 kB / 1.357 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.95, allocations: 272.3 kB / 1.358 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.9501, allocations: 11.98 kB / 1.358 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.9501, allocations: 31.98 kB / 1.358 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001973/0.9503, allocations: 89.45 kB / 1.358 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.9506, allocations: 151.8 kB / 1.358 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9506, allocations: 0 / 1.358 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.9506, allocations: 7.984 kB / 1.358 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.9507, allocations: 4 kB / 1.358 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.9515, allocations: 0.5869 MB / 1.359 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.9518, allocations: 166.6 kB / 1.359 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.9519, allocations: 77.98 kB / 1.359 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.9519, allocations: 3.953 kB / 1.359 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.9522, allocations: 187.4 kB / 1.359 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.9522, allocations: 0 / 1.359 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0004434/0.9527, allocations: 244.9 kB / 1.359 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.9527, allocations: 67.38 kB / 1.359 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.9529, allocations: 172.5 kB / 1.359 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.953, allocations: 41.69 kB / 1.359 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.953, allocations: 121.4 kB / 1.36 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.9531, allocations: 82.95 kB / 1.36 GB, free: 5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.9531, allocations: 4 kB / 1.36 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9533, allocations: 334.8 kB / 1.36 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.9535, allocations: 137.1 kB / 1.36 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.9538, allocations: 258.6 kB / 1.36 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.9544, allocations: 175.7 kB / 1.361 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9544, allocations: 3.906 kB / 1.361 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001012/0.9554, allocations: 483 kB / 1.361 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9555, allocations: 4 kB / 1.361 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.9555, allocations: 4 kB / 1.361 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9555, allocations: 8 kB / 1.361 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.9557, allocations: 43.86 kB / 1.361 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.9557, allocations: 7.984 kB / 1.361 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.9562, allocations: 135.7 kB / 1.361 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.9563, allocations: 29.3 kB / 1.361 GB, free: 3.355 MB / 0.8542 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.0001515/0.9565, allocations: 154 kB / 1.361 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.9565, allocations: 27.8 kB / 1.361 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.9566, allocations: 22.66 kB / 1.361 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9566, allocations: 4 kB / 1.361 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.9566, allocations: 7.891 kB / 1.361 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9566, allocations: 0 / 1.361 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.9573, allocations: 0.5881 MB / 1.362 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9574, allocations: 5.406 kB / 1.362 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.9574, allocations: 19.94 kB / 1.362 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9574, allocations: 0 / 1.362 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.9575, allocations: 9.234 kB / 1.362 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9575, allocations: 3.984 kB / 1.362 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9575, allocations: 0 / 1.362 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003878/0.9579, allocations: 347.2 kB / 1.362 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.9579, allocations: 96.86 kB / 1.362 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.958, allocations: 19.89 kB / 1.362 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.9581, allocations: 7.984 kB / 1.362 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.9582, allocations: 31.95 kB / 1.362 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.9582, allocations: 23.92 kB / 1.363 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.159e-05/0.9583, allocations: 115.2 kB / 1.363 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004764/0.9588, allocations: 79.98 kB / 1.363 GB, free: 1.73 MB / 0.8542 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.0001966/0.959, allocations: 136.6 kB / 1.363 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005903/0.9596, allocations: 421.1 kB / 1.363 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9596, allocations: 0 / 1.363 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.9598, allocations: 139.9 kB / 1.363 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.9601, allocations: 24.67 kB / 1.363 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.9607, allocations: 296.6 kB / 1.364 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.9611, allocations: 0.7794 MB / 1.364 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.9611, allocations: 4 kB / 1.364 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of Templates: time 0.007531/0.9686, allocations: 3.82 MB / 1.368 GB, free: 12.14 MB / 0.8698 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