Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.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 9.1.1-maint.9.1.x/package.mo): time 1.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009223/0.0009223, allocations: 177.2 kB / 487 MB, free: 5.355 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.149/1.149, 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.0008781/0.0008781, allocations: 95.59 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.601e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.7034, allocations: 149.9 MB / 1.352 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.7036, allocations: 66.59 kB / 1.352 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01896/0.7225, allocations: 7.624 MB / 1.359 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.7226, allocations: 10.59 kB / 1.359 GB, free: 15.12 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0008797/0.7235, allocations: 0.7071 MB / 1.36 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7235, allocations: 11.27 kB / 1.36 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.7236, allocations: 61.44 kB / 1.36 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.7238, allocations: 253.8 kB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.7239, allocations: 18.16 kB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.7239, allocations: 38.88 kB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005434/0.7245, allocations: 293.9 kB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.7252, allocations: 413 kB / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.7252, allocations: 0.5625 kB / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.7253, allocations: 0.5312 kB / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.7253, allocations: 13.67 kB / 1.361 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.7271, allocations: 1.377 MB / 1.362 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.7275, allocations: 242.9 kB / 1.362 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.7278, allocations: 157.7 kB / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.7278, allocations: 5.172 kB / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.728, allocations: 168.4 kB / 1.363 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.728, allocations: 0 / 1.363 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0003551/0.7284, allocations: 236.1 kB / 1.363 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.7284, allocations: 85.34 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.7286, allocations: 232.6 kB / 1.363 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.7286, allocations: 29.7 kB / 1.363 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.7287, allocations: 245.1 kB / 1.364 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.7288, allocations: 110 kB / 1.364 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.7288, allocations: 0.7031 kB / 1.364 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.7289, allocations: 342.3 kB / 1.364 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.729, allocations: 105.7 kB / 1.364 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7292, allocations: 151 kB / 1.364 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.7295, allocations: 132 kB / 1.364 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7295, allocations: 4 kB / 1.364 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005647/0.7301, allocations: 353.1 kB / 1.365 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.7301, allocations: 6.656 kB / 1.365 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7301, allocations: 0.7031 kB / 1.365 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7301, allocations: 4 kB / 1.365 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.7304, allocations: 80.69 kB / 1.365 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7305, allocations: 7.984 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.7308, allocations: 70 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.7308, allocations: 11.12 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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 6.879e-05/0.7309, allocations: 115.1 kB / 1.365 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.7309, allocations: 27.72 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.7313, allocations: 263.3 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7313, allocations: 7.906 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7313, allocations: 0 / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7313, allocations: 3.938 kB / 1.365 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/0.732, allocations: 0.8516 MB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.732, allocations: 4 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.7322, allocations: 63.34 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.7322, allocations: 7.906 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.7322, allocations: 4 kB / 1.366 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7322, allocations: 4 kB / 1.366 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7322, allocations: 160 / 1.366 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000324/0.7326, allocations: 0.5348 MB / 1.367 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.7326, allocations: 119.7 kB / 1.367 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.7327, allocations: 0 / 1.367 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.7329, allocations: 16 kB / 1.367 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.7329, allocations: 19.66 kB / 1.367 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.733, allocations: 15.05 kB / 1.367 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001075/0.7331, allocations: 179.8 kB / 1.367 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003586/0.7334, allocations: 111.4 kB / 1.367 GB, free: 9.324 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.0001162/0.7336, allocations: 116.5 kB / 1.367 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.7339, allocations: 293.7 kB / 1.368 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.734, allocations: 0 / 1.368 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.7341, allocations: 121.8 kB / 1.368 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.7344, allocations: 40.27 kB / 1.368 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.7352, allocations: 0.5176 MB / 1.368 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.7356, allocations: 0.86 MB / 1.369 GB, free: 23.48 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.7356, allocations: 0 / 1.369 GB, free: 23.48 MB / 0.823 GB Notification: Performance of Templates: time 0.005679/0.7413, allocations: 3.345 MB / 1.372 GB, free: 20.2 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches