Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.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.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_9_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_9_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 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.0009605/0.0009605, allocations: 187.8 kB / 487 MB, free: 5.391 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.109/1.109, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.0007994/0.0007994, allocations: 103 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.75e-06/5.841e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1843, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.6914, allocations: 149.1 MB / 1.351 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.6916, allocations: 72.05 kB / 1.351 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004734/0.6963, allocations: 1.609 MB / 1.352 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.6964, allocations: 2.5 kB / 1.352 GB, free: 15.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000475/0.6969, allocations: 424.2 kB / 1.353 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6969, allocations: 10.22 kB / 1.353 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.697, allocations: 12.42 kB / 1.353 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.6971, allocations: 203.6 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6972, allocations: 2.594 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.6972, allocations: 3.656 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/0.6973, allocations: 60.72 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6975, allocations: 91.98 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6975, allocations: 0 / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6975, allocations: 0.75 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6975, allocations: 5.484 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.6981, allocations: 445.5 kB / 1.354 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.6984, allocations: 107.5 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.6984, allocations: 52.52 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.6985, allocations: 1.188 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.6985, allocations: 39.84 kB / 1.354 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.6985, allocations: 0 / 1.354 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002457/0.6987, allocations: 92.92 kB / 1.354 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.6988, allocations: 83.7 kB / 1.354 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.6989, allocations: 142.8 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.6989, allocations: 30.86 kB / 1.354 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.6989, allocations: 104.1 kB / 1.354 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.6989, allocations: 20.94 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.699, allocations: 0.6875 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.699, allocations: 329.5 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.6991, allocations: 20.53 kB / 1.355 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.6991, allocations: 40.69 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.6992, allocations: 28.88 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6992, allocations: 5.531 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001704/0.6994, allocations: 102.6 kB / 1.355 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6994, allocations: 5.219 kB / 1.355 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6994, allocations: 1.219 kB / 1.355 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6994, allocations: 4.938 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.6996, allocations: 30.67 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.6996, allocations: 5.328 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.6997, allocations: 14.64 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6998, allocations: 3.406 kB / 1.355 GB, free: 13.96 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: 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 4.572e-05/0.6998, allocations: 119.9 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.6999, allocations: 9.75 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.7001, allocations: 114.7 kB / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7001, allocations: 2.281 kB / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7001, allocations: 0 / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7001, allocations: 6.344 kB / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.7003, allocations: 188.5 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7004, allocations: 2.391 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.7005, allocations: 32.89 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7005, allocations: 0.9062 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.7005, allocations: 0.7188 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7006, allocations: 6.234 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7006, allocations: 1.156 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001855/0.7008, allocations: 292.7 kB / 1.356 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.7008, allocations: 86.05 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.7008, allocations: 2.359 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.701, allocations: 12.16 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.7011, allocations: 13.67 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.7011, allocations: 2.469 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.309e-05/0.7012, allocations: 119 kB / 1.356 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002769/0.7014, allocations: 24.47 kB / 1.356 GB, free: 13.21 MB / 0.8073 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 8.117e-05/0.7015, allocations: 100.2 kB / 1.356 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.7017, allocations: 67.22 kB / 1.356 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7017, allocations: 0 / 1.356 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.7018, allocations: 39.09 kB / 1.356 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.7021, allocations: 40.11 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.7025, allocations: 151.1 kB / 1.356 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.7028, allocations: 0.7306 MB / 1.357 GB, free: 28.29 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/0.7028, allocations: 0.8125 kB / 1.357 GB, free: 28.29 MB / 0.823 GB Notification: Performance of Templates: time 0.00467/0.7074, allocations: 1.932 MB / 1.359 GB, free: 28.18 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches