Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset") [: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.767/1.767, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009715/0.0009716, allocations: 185.3 kB / 487 MB, free: 5.359 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008392/0.0008392, allocations: 93.03 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.34e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.6933, allocations: 156.8 MB / 1.358 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.6936, allocations: 76.09 kB / 1.358 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0437/0.7373, allocations: 19.38 MB / 1.377 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.3e-05/0.7374, allocations: 20 kB / 1.377 GB, free: 2.121 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001366/0.7388, allocations: 1.099 MB / 1.378 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.7389, allocations: 8.031 kB / 1.378 GB, free: 1.035 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.739, allocations: 125.8 kB / 1.379 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.7401, allocations: 0.7333 MB / 1.379 GB, free: 284 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.7402, allocations: 58.58 kB / 1.379 GB, free: 220 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/0.7403, allocations: 40 kB / 1.379 GB, free: 180 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007217/0.741, allocations: 456.3 kB / 1.38 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.7419, allocations: 0.6262 MB / 1.38 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.742, allocations: 0 / 1.38 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.742, allocations: 3.984 kB / 1.38 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.742, allocations: 16 kB / 1.38 GB, free: 15.38 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.7449, allocations: 2.204 MB / 1.383 GB, free: 13.59 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.7458, allocations: 0.5296 MB / 1.383 GB, free: 13.24 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.7461, allocations: 200.8 kB / 1.383 GB, free: 13.12 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.7462, allocations: 13.23 kB / 1.383 GB, free: 13.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.7466, allocations: 283 kB / 1.384 GB, free: 12.91 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 1.793e-06/0.7466, allocations: 0 / 1.384 GB, free: 12.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.000745/0.7473, allocations: 495.2 kB / 1.384 GB, free: 12.55 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.7474, allocations: 137 kB / 1.384 GB, free: 12.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.748, allocations: 0.5495 MB / 1.385 GB, free: 11.96 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.7481, allocations: 29.7 kB / 1.385 GB, free: 11.93 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.7482, allocations: 291.4 kB / 1.385 GB, free: 11.68 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.7484, allocations: 205.6 kB / 1.385 GB, free: 11.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.7484, allocations: 3.625 kB / 1.385 GB, free: 11.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7485, allocations: 331 kB / 1.386 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.7488, allocations: 165.1 kB / 1.386 GB, free: 11.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.7491, allocations: 287.7 kB / 1.386 GB, free: 10.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.7494, allocations: 200 kB / 1.386 GB, free: 10.74 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7494, allocations: 0 / 1.386 GB, free: 10.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007636/0.7502, allocations: 0.5646 MB / 1.387 GB, free: 10.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.7504, allocations: 0.8715 MB / 1.388 GB, free: 9.391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7504, allocations: 4.031 kB / 1.388 GB, free: 9.387 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7505, allocations: 15.98 kB / 1.388 GB, free: 9.371 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.7513, allocations: 161.8 kB / 1.388 GB, free: 9.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7513, allocations: 11.94 kB / 1.388 GB, free: 9.207 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.7518, allocations: 75.39 kB / 1.388 GB, free: 9.133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.7519, allocations: 19.19 kB / 1.388 GB, free: 9.117 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-06/0.7519, allocations: 0 / 1.388 GB, free: 9.117 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006418/0.7525, allocations: 447.2 kB / 1.388 GB, free: 8.824 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7526, allocations: 4 kB / 1.388 GB, free: 8.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/0.7526, allocations: 7.938 kB / 1.388 GB, free: 8.812 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/0.7533, allocations: 154.3 kB / 1.388 GB, free: 8.668 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7533, allocations: 12.22 kB / 1.388 GB, free: 8.656 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.7538, allocations: 51.56 kB / 1.388 GB, free: 8.605 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.7538, allocations: 19.81 kB / 1.388 GB, free: 8.59 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000123/0.754, allocations: 128.5 kB / 1.389 GB, free: 8.461 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.7541, allocations: 90.88 kB / 1.389 GB, free: 8.371 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.7542, allocations: 91.36 kB / 1.389 GB, free: 8.324 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7542, allocations: 4 kB / 1.389 GB, free: 8.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.7543, allocations: 0 / 1.389 GB, free: 8.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.7543, allocations: 3.984 kB / 1.389 GB, free: 8.316 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.7558, allocations: 1.315 MB / 1.39 GB, free: 7.348 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7559, allocations: 0 / 1.39 GB, free: 7.348 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.7565, allocations: 115.2 kB / 1.39 GB, free: 7.238 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.7565, allocations: 3.906 kB / 1.39 GB, free: 7.234 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.7566, allocations: 7.984 kB / 1.39 GB, free: 7.227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7566, allocations: 0 / 1.39 GB, free: 7.227 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7566, allocations: 4 kB / 1.39 GB, free: 7.223 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001045/0.7576, allocations: 0.8734 MB / 1.391 GB, free: 6.598 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.7579, allocations: 224.9 kB / 1.391 GB, free: 6.398 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-05/0.758, allocations: 0 / 1.391 GB, free: 6.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.7585, allocations: 51.95 kB / 1.391 GB, free: 6.348 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.7586, allocations: 35.59 kB / 1.391 GB, free: 6.316 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.7586, allocations: 22.88 kB / 1.391 GB, free: 6.301 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004032/0.759, allocations: 438 kB / 1.392 GB, free: 5.988 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006318/0.7597, allocations: 264.6 kB / 1.392 GB, free: 5.73 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001308/0.7598, allocations: 103.2 kB / 1.392 GB, free: 5.621 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009912/0.7608, allocations: 0.756 MB / 1.393 GB, free: 5.125 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7608, allocations: 0 / 1.393 GB, free: 5.125 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.7611, allocations: 242.2 kB / 1.393 GB, free: 4.965 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.762, allocations: 211.5 kB / 1.393 GB, free: 4.805 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.7641, allocations: 1.153 MB / 1.394 GB, free: 3.762 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/0.7648, allocations: 1.091 MB / 1.395 GB, free: 2.641 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7648, allocations: 0 / 1.395 GB, free: 2.641 MB / 0.823 GB Notification: Performance of Templates: time 0.01881/0.7837, allocations: 12.84 MB / 1.408 GB, free: 5.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches