Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") [: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 10.0.0-master/package.mo): time 1.937/1.937, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001013/0.001013, allocations: 177.3 kB / 490.8 MB, free: 1.906 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.399/1.399, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001021, allocations: 93.08 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/8.156e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2929, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.372, allocations: 434.5 MB / 1.636 GB, free: 13.62 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.373, allocations: 88.08 kB / 1.636 GB, free: 13.57 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.4/3.773, allocations: 0.65 GB / 2.286 GB, free: 265.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002194/3.773, allocations: 34 kB / 2.286 GB, free: 265.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003977/3.777, allocations: 1.503 MB / 2.287 GB, free: 265 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/3.777, allocations: 7.812 kB / 2.287 GB, free: 265 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/3.779, allocations: 486.3 kB / 2.288 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/3.783, allocations: 1.32 MB / 2.289 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/3.783, allocations: 106.2 kB / 2.289 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/3.783, allocations: 55.86 kB / 2.289 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001286/3.785, allocations: 0.6191 MB / 2.29 GB, free: 264.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/3.786, allocations: 0.7625 MB / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/3.786, allocations: 0 / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/3.786, allocations: 3.875 kB / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/3.786, allocations: 40.03 kB / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006206/3.792, allocations: 4.765 MB / 2.295 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/3.795, allocations: 0.6736 MB / 2.296 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/3.795, allocations: 201.9 kB / 2.296 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/3.796, allocations: 0.911 MB / 2.297 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/3.796, allocations: 44.41 kB / 2.297 GB, free: 260.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 4.588e-06/3.796, allocations: 0 / 2.297 GB, free: 260.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.003409/3.799, allocations: 0.7822 MB / 2.298 GB, free: 260.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/3.799, allocations: 55.34 kB / 2.298 GB, free: 260.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/3.801, allocations: 0.7439 MB / 2.299 GB, free: 260.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/3.801, allocations: 27.77 kB / 2.299 GB, free: 260.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/3.802, allocations: 393.8 kB / 2.299 GB, free: 260.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/3.802, allocations: 144.8 kB / 2.299 GB, free: 260.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/3.802, allocations: 2.156 kB / 2.299 GB, free: 260.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000123/3.802, allocations: 331.9 kB / 2.3 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/3.802, allocations: 168.6 kB / 2.3 GB, free: 259.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/3.803, allocations: 417.7 kB / 2.3 GB, free: 259.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/3.804, allocations: 260 kB / 2.3 GB, free: 259.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/3.804, allocations: 0 / 2.3 GB, free: 259.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001839/3.806, allocations: 0.7014 MB / 2.301 GB, free: 259.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007066/3.806, allocations: 1.662 MB / 2.303 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/3.806, allocations: 3.25 kB / 2.303 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008683/3.807, allocations: 234 kB / 2.303 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/3.808, allocations: 121.8 kB / 2.303 GB, free: 257.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/3.809, allocations: 0.8857 MB / 2.304 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/3.811, allocations: 180 kB / 2.304 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/3.811, allocations: 31.48 kB / 2.304 GB, free: 257.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/3.811, allocations: 3.719 kB / 2.304 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001293/3.812, allocations: 0.5743 MB / 2.305 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/3.812, allocations: 3.688 kB / 2.305 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/3.813, allocations: 237.1 kB / 2.305 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/3.813, allocations: 126.8 kB / 2.305 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008906/3.814, allocations: 0.865 MB / 2.306 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/3.815, allocations: 154.8 kB / 2.306 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/3.815, allocations: 29.5 kB / 2.306 GB, free: 256.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001962/3.816, allocations: 119.7 kB / 2.306 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/3.816, allocations: 102.7 kB / 2.306 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/3.818, allocations: 0.7407 MB / 2.307 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/3.818, allocations: 10.75 kB / 2.307 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/3.818, allocations: 0 / 2.307 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/3.818, allocations: 3.141 kB / 2.307 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00441/3.822, allocations: 1.902 MB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/3.822, allocations: 7.312 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/3.822, allocations: 63.97 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006193/3.823, allocations: 248.2 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/3.823, allocations: 12.94 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000949/3.824, allocations: 0.9058 MB / 2.31 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.824, allocations: 0 / 2.31 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002871/3.827, allocations: 1.115 MB / 2.311 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/3.828, allocations: 261.3 kB / 2.311 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/3.828, allocations: 7.156 kB / 2.311 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/3.829, allocations: 110 kB / 2.312 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/3.829, allocations: 33.69 kB / 2.312 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/3.829, allocations: 26.7 kB / 2.312 GB, free: 255 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009347/3.83, allocations: 0.5716 MB / 2.312 GB, free: 254.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002387/3.832, allocations: 0.6162 MB / 2.313 GB, free: 254.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/3.834, allocations: 0.6728 MB / 2.313 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001702/3.836, allocations: 0.8022 MB / 2.314 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/3.836, allocations: 0 / 2.314 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/3.836, allocations: 279.2 kB / 2.314 GB, free: 254.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/3.838, allocations: 369.6 kB / 2.315 GB, free: 254.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/3.843, allocations: 1.629 MB / 2.316 GB, free: 254.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/3.844, allocations: 1.166 MB / 2.318 GB, free: 253.4 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/3.844, allocations: 0 / 2.318 GB, free: 253.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04249/3.886, allocations: 25.51 MB / 2.342 GB, free: 253 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches