Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [: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.752/1.752, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.00094/0.00094, allocations: 188.6 kB / 487 MB, free: 5.352 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.093/1.093, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.0007889/0.0007889, allocations: 98.11 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.739e-06/4.759e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1687, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.625, allocations: 150.3 MB / 1.352 GB, free: 16.09 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.6253, allocations: 88.98 kB / 1.352 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007838/0.6331, allocations: 3.247 MB / 1.355 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.6332, allocations: 4.281 kB / 1.355 GB, free: 15.89 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005225/0.6337, allocations: 484.5 kB / 1.356 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6337, allocations: 13.97 kB / 1.356 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.6338, allocations: 28.34 kB / 1.356 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.6341, allocations: 262.8 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6341, allocations: 6.875 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.6341, allocations: 11.25 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002421/0.6344, allocations: 125.5 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.6347, allocations: 183.4 kB / 1.356 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6347, allocations: 1.156 kB / 1.356 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.6347, allocations: 0 / 1.356 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.6347, allocations: 8.875 kB / 1.356 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.6356, allocations: 0.746 MB / 1.357 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.6359, allocations: 148.5 kB / 1.357 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.636, allocations: 82.67 kB / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.636, allocations: 2.219 kB / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.6362, allocations: 98.58 kB / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.6362, allocations: 0 / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002405/0.6364, allocations: 124.9 kB / 1.357 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.6364, allocations: 82.8 kB / 1.358 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.6366, allocations: 174.6 kB / 1.358 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.6366, allocations: 25.7 kB / 1.358 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.6367, allocations: 139.5 kB / 1.358 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.6367, allocations: 44.61 kB / 1.358 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.6367, allocations: 0 / 1.358 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.6368, allocations: 327.9 kB / 1.358 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.6368, allocations: 41.3 kB / 1.358 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.6369, allocations: 74.55 kB / 1.358 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.637, allocations: 46.58 kB / 1.358 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.637, allocations: 1.203 kB / 1.358 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002131/0.6372, allocations: 143.6 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.6373, allocations: 187.6 kB / 1.359 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6373, allocations: 0.9062 kB / 1.359 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6373, allocations: 0.8125 kB / 1.359 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.6375, allocations: 44.84 kB / 1.359 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.6375, allocations: 1.5 kB / 1.359 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.6377, allocations: 31.34 kB / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.6377, allocations: 7.984 kB / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.6377, allocations: 4.031 kB / 1.359 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001511/0.6379, allocations: 93.05 kB / 1.359 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.6379, allocations: 8.531 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-06/0.6379, allocations: 2.266 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.638, allocations: 33.08 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.638, allocations: 1.438 kB / 1.359 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.6381, allocations: 29.16 kB / 1.359 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.6382, allocations: 3.688 kB / 1.359 GB, free: 13.7 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 5.569e-05/0.6382, allocations: 110.6 kB / 1.359 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.6382, allocations: 15.56 kB / 1.359 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.6383, allocations: 25.48 kB / 1.359 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6383, allocations: 6.406 kB / 1.359 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6383, allocations: 0 / 1.359 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6383, allocations: 5.703 kB / 1.359 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.6387, allocations: 474.5 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6387, allocations: 1 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.6389, allocations: 38.2 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6389, allocations: 1.609 kB / 1.36 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6389, allocations: 4.781 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.6389, allocations: 1.453 kB / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.639, allocations: 0 / 1.36 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002972/0.6393, allocations: 288.7 kB / 1.36 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.6393, allocations: 98.92 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.6393, allocations: 1.5 kB / 1.36 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.6395, allocations: 22.95 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.6395, allocations: 7.094 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.6396, allocations: 7.672 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001051/0.6397, allocations: 139.2 kB / 1.36 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003365/0.64, allocations: 69.8 kB / 1.36 GB, free: 12.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 9.497e-05/0.6401, allocations: 107.6 kB / 1.36 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002747/0.6404, allocations: 158.3 kB / 1.36 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6404, allocations: 1 kB / 1.36 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.6405, allocations: 58.44 kB / 1.36 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.6408, allocations: 34.45 kB / 1.361 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.6414, allocations: 272.7 kB / 1.361 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.6417, allocations: 0.7694 MB / 1.362 GB, free: 27.99 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.6417, allocations: 0.875 kB / 1.362 GB, free: 27.99 MB / 0.823 GB Notification: Performance of Templates: time 0.005328/0.6471, allocations: 2.424 MB / 1.364 GB, free: 27.21 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches