Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.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.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TRet|heaCur.TSup|heaCur.TOut|heaCur1.TSetZon|heaCur1.TRet|heaCur1.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TRet|heaCur.TSup|heaCur.TOut|heaCur1.TSetZon|heaCur1.TRet|heaCur1.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.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.283/1.283, allocations: 249.4 MB / 256.7 MB, free: 7.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009813, allocations: 185.3 kB / 316 MB, free: 7.941 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.1 MB / 0.5667 GB, free: 3.371 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008978/0.0008978, allocations: 85.45 kB / 0.671 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.646e-06, allocations: 4 kB / 0.7807 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2322, allocations: 106.3 MB / 0.8846 GB, free: 396 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.71/0.9422, allocations: 132.3 MB / 1.014 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.9426, allocations: 78.2 kB / 1.014 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.006266/0.9489, allocations: 1.791 MB / 1.016 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.9489, allocations: 4 kB / 1.016 GB, free: 10.91 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008399/0.9498, allocations: 456.6 kB / 1.016 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.9498, allocations: 8.031 kB / 1.016 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.9499, allocations: 18.55 kB / 1.016 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.9501, allocations: 182.8 kB / 1.016 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.9501, allocations: 4 kB / 1.016 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.9501, allocations: 7.984 kB / 1.016 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001984/0.9503, allocations: 73.55 kB / 1.016 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.9505, allocations: 109.8 kB / 1.016 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.9506, allocations: 0 / 1.016 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.9506, allocations: 0 / 1.016 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.9506, allocations: 4 kB / 1.016 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/0.9514, allocations: 482.3 kB / 1.017 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.9517, allocations: 108.8 kB / 1.017 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/0.9518, allocations: 54.09 kB / 1.017 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.9519, allocations: 3.938 kB / 1.017 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.9521, allocations: 108.5 kB / 1.017 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.9521, allocations: 0 / 1.017 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.000298/0.9524, allocations: 116.3 kB / 1.017 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.9524, allocations: 84.44 kB / 1.017 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.9526, allocations: 138.7 kB / 1.017 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.9526, allocations: 29.69 kB / 1.017 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.9527, allocations: 99.75 kB / 1.018 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.9527, allocations: 42.52 kB / 1.018 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.9527, allocations: 0 / 1.018 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9529, allocations: 325.2 kB / 1.018 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.953, allocations: 33.38 kB / 1.018 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.9531, allocations: 58.91 kB / 1.018 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/0.9531, allocations: 36.8 kB / 1.018 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9531, allocations: 0 / 1.018 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000242/0.9534, allocations: 140.4 kB / 1.018 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.9534, allocations: 4 kB / 1.018 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9534, allocations: 0 / 1.018 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.9534, allocations: 4 kB / 1.018 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.9537, allocations: 44 kB / 1.018 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.9537, allocations: 11.94 kB / 1.018 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.9539, allocations: 23.98 kB / 1.018 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.954, allocations: 10.92 kB / 1.018 GB, free: 8.207 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * 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 8.201e-05/0.9541, allocations: 112.8 kB / 1.018 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.9541, allocations: 11.91 kB / 1.018 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.9544, allocations: 137.1 kB / 1.019 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9544, allocations: 4 kB / 1.019 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.9544, allocations: 0 / 1.019 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.9544, allocations: 4 kB / 1.019 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.9546, allocations: 203.1 kB / 1.019 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9546, allocations: 0 / 1.019 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.9548, allocations: 35.97 kB / 1.019 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9548, allocations: 4 kB / 1.019 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.9549, allocations: 0 / 1.019 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9549, allocations: 4 kB / 1.019 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9549, allocations: 0 / 1.019 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002219/0.9551, allocations: 167.2 kB / 1.019 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.9552, allocations: 92.61 kB / 1.019 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.9552, allocations: 4 kB / 1.019 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.9554, allocations: 23.97 kB / 1.019 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.9555, allocations: 19.28 kB / 1.019 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.9555, allocations: 4 kB / 1.019 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.959e-05/0.9556, allocations: 118.3 kB / 1.019 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002389/0.9558, allocations: 35.84 kB / 1.019 GB, free: 7.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001554/0.956, allocations: 99.95 kB / 1.019 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.9562, allocations: 94.98 kB / 1.019 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9563, allocations: 2.438 kB / 1.019 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.9564, allocations: 52.31 kB / 1.019 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.9567, allocations: 46.77 kB / 1.02 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.9572, allocations: 172.1 kB / 1.02 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.9577, allocations: 0.7352 MB / 1.02 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.9577, allocations: 3.938 kB / 1.02 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.005824/0.9636, allocations: 2.415 MB / 1.023 GB, free: 3.734 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches