Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [: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.882/1.882, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 178.1 kB / 490.8 MB, free: 11.21 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.231/1.231, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.000943, allocations: 94.2 kB / 0.9264 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.156e-06, allocations: 4 kB / 1.072 GB, free: 16 kB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5843, allocations: 143 MB / 1.212 GB, free: 53.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.77, allocations: 154.9 MB / 1.363 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.7703, allocations: 88.98 kB / 1.363 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.02608/0.7964, allocations: 10.01 MB / 1.373 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.841e-05/0.7965, allocations: 8 kB / 1.373 GB, free: 4.812 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007019/0.7972, allocations: 0.5755 MB / 1.373 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7972, allocations: 8.031 kB / 1.373 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.7973, allocations: 47.42 kB / 1.373 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.7979, allocations: 351.2 kB / 1.374 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.7979, allocations: 0 / 1.374 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.798, allocations: 7.906 kB / 1.374 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.982e-05/0.7981, allocations: 35.98 kB / 1.374 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.7982, allocations: 70.59 kB / 1.374 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.7982, allocations: 4 kB / 1.374 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7982, allocations: 0 / 1.374 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7983, allocations: 0 / 1.374 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.7989, allocations: 449 kB / 1.374 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.799, allocations: 54.69 kB / 1.374 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.7991, allocations: 32.88 kB / 1.374 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.7991, allocations: 0 / 1.374 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.7992, allocations: 75.33 kB / 1.374 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.7992, allocations: 0 / 1.374 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0002271/0.7995, allocations: 109.1 kB / 1.374 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.7995, allocations: 51.41 kB / 1.375 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.8, allocations: 457.4 kB / 1.375 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.8, allocations: 33.69 kB / 1.375 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.8001, allocations: 135.9 kB / 1.375 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.8002, allocations: 23.78 kB / 1.375 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-06/0.8002, allocations: 0 / 1.375 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8003, allocations: 354.8 kB / 1.375 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.8004, allocations: 55.98 kB / 1.376 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.8005, allocations: 78.55 kB / 1.376 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.8007, allocations: 70.61 kB / 1.376 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8008, allocations: 0 / 1.376 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003671/0.8011, allocations: 213 kB / 1.376 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8011, allocations: 4.938 kB / 1.376 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8012, allocations: 4.062 kB / 1.376 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8012, allocations: 4 kB / 1.376 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.8013, allocations: 23.92 kB / 1.376 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.8013, allocations: 4 kB / 1.376 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.8014, allocations: 8 kB / 1.376 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.8015, allocations: 7.984 kB / 1.376 GB, free: 1.309 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.999e-05/0.8016, allocations: 112.9 kB / 1.376 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.8016, allocations: 43.44 kB / 1.376 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.8018, allocations: 122.7 kB / 1.376 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.8018, allocations: 8 kB / 1.376 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8019, allocations: 0 / 1.376 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8019, allocations: 3.984 kB / 1.376 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.8021, allocations: 274.1 kB / 1.376 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8021, allocations: 112 / 1.376 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.8021, allocations: 11.94 kB / 1.376 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.8022, allocations: 3.906 kB / 1.376 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8022, allocations: 4 kB / 1.376 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8022, allocations: 3.984 kB / 1.376 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8022, allocations: 3.938 kB / 1.376 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001659/0.8024, allocations: 140.7 kB / 1.377 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.8024, allocations: 120.5 kB / 1.377 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.8025, allocations: 4 kB / 1.377 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.8026, allocations: 15.98 kB / 1.377 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.8026, allocations: 7.984 kB / 1.377 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.8027, allocations: 4 kB / 1.377 GB, free: 364 kB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003187/0.803, allocations: 338.9 kB / 1.377 GB, free: 28 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003245/0.8033, allocations: 51.98 kB / 1.377 GB, free: 15.97 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0007471/0.8041, allocations: 355.9 kB / 1.377 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.8043, allocations: 91.86 kB / 1.378 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8043, allocations: 0 / 1.378 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.565e-05/0.8043, allocations: 31.98 kB / 1.378 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.8047, allocations: 53.91 kB / 1.378 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.8054, allocations: 444 kB / 1.378 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.8059, allocations: 0.8428 MB / 1.379 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.8059, allocations: 0 / 1.379 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.006433/0.8123, allocations: 2.66 MB / 1.381 GB, free: 11.58 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches