Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [: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.814/1.814, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009675/0.0009679, allocations: 181.3 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.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008027/0.0008027, allocations: 88.69 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.212e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1802, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.511/0.6912, allocations: 149.1 MB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001721/0.6914, allocations: 70.17 kB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01058/0.702, allocations: 3.704 MB / 1.354 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.702, allocations: 2.156 kB / 1.354 GB, free: 15.67 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.0006576/0.7027, allocations: 0.5326 MB / 1.355 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7028, allocations: 9.344 kB / 1.355 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.7029, allocations: 32.27 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.7029, allocations: 179.2 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.703, allocations: 16.06 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.7031, allocations: 40.09 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002174/0.7033, allocations: 106.5 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.7036, allocations: 236.8 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7037, allocations: 0.75 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.7037, allocations: 11.12 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7037, allocations: 2.875 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.7044, allocations: 0.5348 MB / 1.356 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.7048, allocations: 383.7 kB / 1.357 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.7051, allocations: 188.5 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.7051, allocations: 2.688 kB / 1.357 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003829/0.7055, allocations: 277.7 kB / 1.357 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=46): time 1.583e-06/0.7055, allocations: 0.9375 kB / 1.357 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=46): time 0.0005972/0.7061, allocations: 375.6 kB / 1.357 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.7061, allocations: 66.8 kB / 1.357 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.7062, allocations: 123.4 kB / 1.357 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.7062, allocations: 44.64 kB / 1.358 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.7063, allocations: 93.05 kB / 1.358 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.7064, allocations: 99.59 kB / 1.358 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.7064, allocations: 3.688 kB / 1.358 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.7065, allocations: 347.1 kB / 1.358 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.7067, allocations: 128.8 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.707, allocations: 270 kB / 1.358 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.7074, allocations: 160.1 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7074, allocations: 4.812 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008817/0.7083, allocations: 466.5 kB / 1.359 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7083, allocations: 7.031 kB / 1.359 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7084, allocations: 4.656 kB / 1.359 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.7084, allocations: 7.75 kB / 1.359 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.7085, allocations: 48.64 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.7085, allocations: 11.59 kB / 1.359 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.709, allocations: 112.7 kB / 1.359 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.7091, allocations: 28.41 kB / 1.359 GB, free: 13.53 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.0001147/0.7092, allocations: 153.6 kB / 1.359 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.7092, allocations: 30.92 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.7093, allocations: 25.23 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7093, allocations: 4.188 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7093, allocations: 4.75 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.7093, allocations: 1.641 kB / 1.359 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.7105, allocations: 0.8452 MB / 1.36 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7105, allocations: 0 / 1.36 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.7106, allocations: 24.52 kB / 1.36 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7106, allocations: 2.938 kB / 1.36 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.7106, allocations: 13.17 kB / 1.36 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7106, allocations: 2.906 kB / 1.36 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7106, allocations: 0.75 kB / 1.36 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005589/0.7112, allocations: 0.506 MB / 1.361 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.7112, allocations: 101.5 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.7113, allocations: 17.31 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.7115, allocations: 34.53 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.7116, allocations: 44.44 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.7117, allocations: 33.75 kB / 1.361 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.944e-05/0.7117, allocations: 100 kB / 1.361 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000419/0.7121, allocations: 97.55 kB / 1.361 GB, free: 12.66 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.0002102/0.7124, allocations: 148.5 kB / 1.361 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006203/0.713, allocations: 434.7 kB / 1.362 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.713, allocations: 0 / 1.362 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.7133, allocations: 286.4 kB / 1.362 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.7135, allocations: 33.77 kB / 1.362 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.7141, allocations: 356.7 kB / 1.362 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.7144, allocations: 0.7731 MB / 1.363 GB, free: 27.13 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/0.7144, allocations: 0 / 1.363 GB, free: 27.13 MB / 0.823 GB Notification: Performance of Templates: time 0.006352/0.7207, allocations: 4.064 MB / 1.367 GB, free: 24.29 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches