Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") [: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.951/1.951, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001089/0.001089, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.426/1.426, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0009768/0.0009766, allocations: 95.11 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.458e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.275, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.33, allocations: 434.7 MB / 1.636 GB, free: 12.96 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.33, allocations: 82.58 kB / 1.636 GB, free: 12.92 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.339/3.669, allocations: 0.6519 GB / 2.288 GB, free: 226.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001184/3.669, allocations: 41.66 kB / 2.288 GB, free: 226.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002793/3.672, allocations: 1.518 MB / 2.29 GB, free: 225.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/3.672, allocations: 11.69 kB / 2.29 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/3.674, allocations: 492.5 kB / 2.29 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/3.677, allocations: 1.316 MB / 2.291 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/3.677, allocations: 110.3 kB / 2.291 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/3.677, allocations: 48.34 kB / 2.291 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/3.678, allocations: 0.6261 MB / 2.292 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/3.679, allocations: 0.7665 MB / 2.293 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/3.679, allocations: 3.844 kB / 2.293 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/3.679, allocations: 0 / 2.293 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/3.679, allocations: 40.09 kB / 2.293 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005446/3.685, allocations: 4.786 MB / 2.298 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/3.687, allocations: 0.6673 MB / 2.298 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/3.687, allocations: 197.4 kB / 2.298 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/3.688, allocations: 0.9145 MB / 2.299 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/3.688, allocations: 36.81 kB / 2.299 GB, free: 221.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/3.688, allocations: 0 / 2.299 GB, free: 221.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.002919/3.691, allocations: 0.7984 MB / 2.3 GB, free: 221.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/3.691, allocations: 57.88 kB / 2.3 GB, free: 221.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/3.692, allocations: 0.7483 MB / 2.301 GB, free: 221.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/3.692, allocations: 29.39 kB / 2.301 GB, free: 221.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/3.692, allocations: 393.1 kB / 2.301 GB, free: 221 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/3.692, allocations: 145.8 kB / 2.301 GB, free: 220.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/3.693, allocations: 0 / 2.301 GB, free: 220.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/3.693, allocations: 324.7 kB / 2.302 GB, free: 220.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/3.693, allocations: 179.7 kB / 2.302 GB, free: 220.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/3.693, allocations: 418.4 kB / 2.302 GB, free: 220.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/3.694, allocations: 275.2 kB / 2.303 GB, free: 220.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/3.694, allocations: 6.281 kB / 2.303 GB, free: 220.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001364/3.696, allocations: 0.7004 MB / 2.303 GB, free: 220.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004544/3.696, allocations: 1.656 MB / 2.305 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/3.696, allocations: 3.906 kB / 2.305 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/3.697, allocations: 240.4 kB / 2.305 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/3.697, allocations: 135.5 kB / 2.305 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/3.698, allocations: 0.8782 MB / 2.306 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/3.7, allocations: 188.8 kB / 2.306 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/3.7, allocations: 30.53 kB / 2.306 GB, free: 218 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/3.7, allocations: 7.344 kB / 2.306 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/3.701, allocations: 0.5811 MB / 2.307 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/3.701, allocations: 3.938 kB / 2.307 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/3.702, allocations: 235.3 kB / 2.307 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/3.702, allocations: 136.6 kB / 2.307 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/3.703, allocations: 0.8713 MB / 2.308 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/3.704, allocations: 164.4 kB / 2.308 GB, free: 217.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/3.705, allocations: 34.78 kB / 2.308 GB, free: 217.4 MB / 1.167 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 (47): * Single equations (assignments): 46 * 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.0002242/3.705, allocations: 118.9 kB / 2.308 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/3.705, allocations: 98.25 kB / 2.308 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/3.708, allocations: 0.9756 MB / 2.309 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/3.708, allocations: 3.188 kB / 2.309 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.708, allocations: 0 / 2.309 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/3.708, allocations: 3.797 kB / 2.309 GB, free: 217.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005161/3.714, allocations: 2.1 MB / 2.311 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/3.714, allocations: 3.906 kB / 2.311 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/3.714, allocations: 83.67 kB / 2.312 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008747/3.715, allocations: 240.6 kB / 2.312 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/3.715, allocations: 10.67 kB / 2.312 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/3.716, allocations: 0.9169 MB / 2.313 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/3.716, allocations: 3.594 kB / 2.313 GB, free: 216.3 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004994/3.721, allocations: 1.298 MB / 2.314 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/3.722, allocations: 268.7 kB / 2.314 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/3.722, allocations: 3.719 kB / 2.314 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/3.723, allocations: 120.2 kB / 2.314 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/3.723, allocations: 34.08 kB / 2.314 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/3.724, allocations: 23.3 kB / 2.314 GB, free: 215.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001019/3.725, allocations: 0.5768 MB / 2.315 GB, free: 215.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002445/3.727, allocations: 0.6201 MB / 2.316 GB, free: 215.5 MB / 1.167 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 (32): * Single equations (assignments): 27 * 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.001412/3.728, allocations: 0.6725 MB / 2.316 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002194/3.731, allocations: 0.8109 MB / 2.317 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/3.731, allocations: 3.906 kB / 2.317 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/3.731, allocations: 283.4 kB / 2.317 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/3.733, allocations: 371.4 kB / 2.318 GB, free: 215.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/3.738, allocations: 1.654 MB / 2.319 GB, free: 214.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/3.738, allocations: 1.175 MB / 2.32 GB, free: 214.1 MB / 1.167 GB Notification: Performance of SimCode: time 5.41e-07/3.738, allocations: 0 / 2.32 GB, free: 214.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04337/3.782, allocations: 25.82 MB / 2.346 GB, free: 213.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches