Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 175.1 kB / 316 MB, free: 7.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 0.5667 GB, free: 23.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 97.09 kB / 0.671 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.756e-06, allocations: 4 kB / 0.7807 GB, free: 400 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4983, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.6621, allocations: 131.2 MB / 1.013 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.6624, allocations: 71.95 kB / 1.013 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.006097/0.6685, allocations: 1.982 MB / 1.015 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.6685, allocations: 4 kB / 1.015 GB, free: 6.801 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006925/0.6692, allocations: 482.4 kB / 1.015 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6693, allocations: 12.03 kB / 1.015 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.6694, allocations: 19.81 kB / 1.015 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.6697, allocations: 227 kB / 1.015 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.6697, allocations: 7.984 kB / 1.015 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.6697, allocations: 19.91 kB / 1.015 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002388/0.67, allocations: 104.6 kB / 1.016 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.6703, allocations: 159.8 kB / 1.016 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6703, allocations: 3.938 kB / 1.016 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.6703, allocations: 7.969 kB / 1.016 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.6703, allocations: 4 kB / 1.016 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009837/0.6713, allocations: 0.5051 MB / 1.016 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.6716, allocations: 182.5 kB / 1.016 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.6718, allocations: 92.86 kB / 1.017 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.6718, allocations: 0 / 1.017 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.6721, allocations: 203.1 kB / 1.017 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.944e-06/0.6721, allocations: 0 / 1.017 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.000458/0.6725, allocations: 245.6 kB / 1.017 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.6726, allocations: 63.41 kB / 1.017 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.6727, allocations: 140.8 kB / 1.017 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.6728, allocations: 33.7 kB / 1.017 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.6728, allocations: 108.9 kB / 1.017 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.6729, allocations: 82.97 kB / 1.017 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.6729, allocations: 0 / 1.017 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6731, allocations: 342.7 kB / 1.018 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.6732, allocations: 77 kB / 1.018 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.6734, allocations: 140.6 kB / 1.018 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.6735, allocations: 76.78 kB / 1.018 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6735, allocations: 4 kB / 1.018 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004073/0.674, allocations: 278.9 kB / 1.018 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.674, allocations: 4 kB / 1.018 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.674, allocations: 0 / 1.018 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.674, allocations: 4 kB / 1.018 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.6742, allocations: 43.86 kB / 1.018 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.6742, allocations: 4 kB / 1.018 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.6744, allocations: 47.78 kB / 1.018 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.6745, allocations: 16 kB / 1.018 GB, free: 2.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001301/0.6746, allocations: 138.2 kB / 1.018 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.6746, allocations: 31.64 kB / 1.019 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.6747, allocations: 17.75 kB / 1.019 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6747, allocations: 4 kB / 1.019 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6747, allocations: 0 / 1.019 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6747, allocations: 7.984 kB / 1.019 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/0.6756, allocations: 0.6277 MB / 1.019 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.6756, allocations: 0 / 1.019 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.6757, allocations: 19.98 kB / 1.019 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.6757, allocations: 4 kB / 1.019 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.6758, allocations: 11.89 kB / 1.019 GB, free: 2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.6758, allocations: 0 / 1.019 GB, free: 2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6758, allocations: 3.938 kB / 1.019 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004133/0.6762, allocations: 359 kB / 1.02 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.6763, allocations: 96.86 kB / 1.02 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.6763, allocations: 7.984 kB / 1.02 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.6765, allocations: 31.97 kB / 1.02 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6766, allocations: 43.91 kB / 1.02 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.6767, allocations: 19.98 kB / 1.02 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.195e-05/0.6767, allocations: 103.3 kB / 1.02 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003387/0.6771, allocations: 52 kB / 1.02 GB, free: 1.262 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * 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.0001797/0.6773, allocations: 129.7 kB / 1.02 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.6777, allocations: 249.5 kB / 1.02 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6777, allocations: 0 / 1.02 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.6779, allocations: 144.5 kB / 1.02 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.6783, allocations: 32.59 kB / 1.02 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.6789, allocations: 281.2 kB / 1.021 GB, free: 428 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.6793, allocations: 0.7716 MB / 1.021 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/0.6793, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of Templates: time 0.006082/0.6854, allocations: 2.807 MB / 1.024 GB, free: 12.83 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches