Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") [: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.769/1.769, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009167/0.0009168, allocations: 185.2 kB / 487 MB, free: 5.371 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.112/1.112, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.000829/0.0008291, allocations: 95.86 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.833e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1793, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.6507, allocations: 149.1 MB / 1.351 GB, free: 16.24 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.6509, allocations: 70.5 kB / 1.351 GB, free: 16.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01091/0.6619, allocations: 3.709 MB / 1.355 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.6619, allocations: 3.719 kB / 1.355 GB, free: 16.03 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006878/0.6626, allocations: 0.5391 MB / 1.355 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6626, allocations: 9.344 kB / 1.355 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.6627, allocations: 31.12 kB / 1.355 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.6628, allocations: 177.5 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6629, allocations: 15.52 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.6629, allocations: 34.84 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002249/0.6632, allocations: 109 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.6635, allocations: 228.7 kB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6635, allocations: 5.125 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.6636, allocations: 7.469 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6636, allocations: 4.188 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.6643, allocations: 0.5391 MB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.6647, allocations: 386.6 kB / 1.357 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.665, allocations: 182.1 kB / 1.357 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.665, allocations: 2.25 kB / 1.357 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/0.6654, allocations: 277.9 kB / 1.357 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=46): time 1.593e-06/0.6654, allocations: 0 / 1.357 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=46): time 0.0006199/0.666, allocations: 373.3 kB / 1.357 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.666, allocations: 68.8 kB / 1.357 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.6661, allocations: 126.3 kB / 1.358 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.6662, allocations: 44.28 kB / 1.358 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.6662, allocations: 92.73 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.6663, allocations: 96.91 kB / 1.358 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.6663, allocations: 3.406 kB / 1.358 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.6664, allocations: 341.3 kB / 1.358 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.6667, allocations: 127.6 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.6669, allocations: 276.3 kB / 1.358 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.6674, allocations: 161.7 kB / 1.359 GB, free: 14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.6674, allocations: 1.656 kB / 1.359 GB, free: 14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008955/0.6683, allocations: 475.9 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6683, allocations: 4.812 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6683, allocations: 4.438 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6684, allocations: 8.594 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6685, allocations: 43.3 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.6685, allocations: 14.38 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.669, allocations: 112.1 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.6691, allocations: 28.75 kB / 1.359 GB, free: 13.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.000118/0.6692, allocations: 160 kB / 1.359 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.6693, allocations: 31.34 kB / 1.359 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.6693, allocations: 19.81 kB / 1.359 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6693, allocations: 9 kB / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6693, allocations: 0 / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6694, allocations: 2.531 kB / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6705, allocations: 0.8411 MB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6706, allocations: 0.9688 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.6706, allocations: 20.88 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.6706, allocations: 3.5 kB / 1.36 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.6707, allocations: 20.7 kB / 1.36 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6707, allocations: 3.531 kB / 1.36 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6707, allocations: 1 kB / 1.36 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005629/0.6713, allocations: 0.4987 MB / 1.361 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.6713, allocations: 105 kB / 1.361 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.6714, allocations: 21.66 kB / 1.361 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.6716, allocations: 30.09 kB / 1.361 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.6717, allocations: 44.34 kB / 1.361 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.6718, allocations: 38.33 kB / 1.361 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.703e-05/0.6718, allocations: 101.1 kB / 1.361 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004288/0.6722, allocations: 94.17 kB / 1.361 GB, free: 13.01 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002125/0.6725, allocations: 153.4 kB / 1.361 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.6731, allocations: 440.3 kB / 1.362 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6731, allocations: 0 / 1.362 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.6734, allocations: 286.3 kB / 1.362 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.6736, allocations: 24.98 kB / 1.362 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.6742, allocations: 367.5 kB / 1.362 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.6745, allocations: 0.7612 MB / 1.363 GB, free: 27.45 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.6745, allocations: 3.938 kB / 1.363 GB, free: 27.45 MB / 0.823 GB Notification: Performance of Templates: time 0.006437/0.6809, allocations: 4.079 MB / 1.367 GB, free: 24.58 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches