Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [: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.445/1.445, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 188.3 kB / 316 MB, free: 3.562 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.233/1.233, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.001013/0.001013, allocations: 93.94 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.285e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 106.3 MB / 0.8845 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6847/0.916, allocations: 132.6 MB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.9163, allocations: 77.67 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005021/0.9214, allocations: 1.583 MB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.9214, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005515/0.922, allocations: 424.8 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.922, allocations: 8.031 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.9221, allocations: 15.81 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.9223, allocations: 213.4 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9223, allocations: 4 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.9224, allocations: 11.91 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001506/0.9225, allocations: 52.5 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.9227, allocations: 95.67 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9227, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.9227, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.9227, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.9234, allocations: 448 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.9237, allocations: 108.2 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.9238, allocations: 39.78 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.9238, allocations: 4 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.9239, allocations: 37.81 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.9239, allocations: 6.516 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002703/0.9242, allocations: 101.5 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.9242, allocations: 77.11 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.9243, allocations: 135.7 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.9244, allocations: 28.89 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.9244, allocations: 95.47 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.9244, allocations: 30.3 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.9245, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9246, allocations: 329.5 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.9246, allocations: 27.06 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.9247, allocations: 35.72 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.813e-05/0.9248, allocations: 26.42 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9248, allocations: 0 / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.9249, allocations: 108.8 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.925, allocations: 4 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.925, allocations: 0 / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.925, allocations: 4 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.9252, allocations: 27.98 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.9252, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.9253, allocations: 23.89 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.9253, allocations: 0 / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.322e-05/0.9254, allocations: 113 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.9255, allocations: 15.8 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.9257, allocations: 125.5 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9258, allocations: 64 / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9258, allocations: 8 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9258, allocations: 4 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.926, allocations: 195.2 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.926, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.9262, allocations: 26.98 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9262, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.9262, allocations: 4 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9262, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9262, allocations: 4 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002431/0.9265, allocations: 287.6 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.9265, allocations: 88.92 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.9266, allocations: 0 / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.9268, allocations: 15.98 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.9269, allocations: 7.984 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.9269, allocations: 7.812 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.047e-05/0.927, allocations: 110.8 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002744/0.9272, allocations: 24 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 0.0001171/0.9274, allocations: 103.9 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.9275, allocations: 72.25 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9276, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.9276, allocations: 38.36 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.9279, allocations: 35.19 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.9284, allocations: 146.8 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.9287, allocations: 0.7308 MB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9288, allocations: 0 / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of Templates: time 0.00462/0.9334, allocations: 1.951 MB / 1.022 GB, free: 14.27 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches