Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T") [: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.992/1.992, allocations: 390.4 MB / 397.7 MB, free: 1.891 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 175.1 kB / 490.8 MB, free: 7.504 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.3 MB / 0.7863 GB, free: 248 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 88.67 kB / 0.9264 GB, free: 0.6289 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/8.997e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 143 MB / 1.212 GB, free: 10.57 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.539/4.852, allocations: 1.874 GB / 3.086 GB, free: 350.6 MB / 1.159 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/4.852, allocations: 83.23 kB / 3.086 GB, free: 350.6 MB / 1.159 GB Notification: Performance of FrontEnd: time 1.873/6.725, allocations: 0.6086 GB / 3.694 GB, free: 169.6 MB / 1.159 GB Notification: Performance of Transformations before backend: time 9.612e-05/6.725, allocations: 33.56 kB / 3.694 GB, free: 169.6 MB / 1.159 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002842/6.728, allocations: 1.124 MB / 3.695 GB, free: 168.4 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/6.728, allocations: 8.031 kB / 3.695 GB, free: 168.4 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/6.731, allocations: 282.5 kB / 3.696 GB, free: 168.1 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/6.732, allocations: 0.5767 MB / 3.696 GB, free: 167.5 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/6.732, allocations: 24 kB / 3.696 GB, free: 167.5 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/6.732, allocations: 49.75 kB / 3.696 GB, free: 167.4 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/6.733, allocations: 0.5194 MB / 3.697 GB, free: 166.9 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/6.734, allocations: 0.7816 MB / 3.698 GB, free: 166.1 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/6.734, allocations: 0 / 3.698 GB, free: 166.1 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/6.734, allocations: 4 kB / 3.698 GB, free: 166.1 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/6.734, allocations: 45.2 kB / 3.698 GB, free: 166 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/6.738, allocations: 3.704 MB / 3.701 GB, free: 162.1 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/6.738, allocations: 175.7 kB / 3.701 GB, free: 161.9 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/6.738, allocations: 118.5 kB / 3.701 GB, free: 161.8 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/6.739, allocations: 0.6363 MB / 3.702 GB, free: 161 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/6.739, allocations: 38.56 kB / 3.702 GB, free: 161 MB / 1.159 GB Notification: Performance of pre-optimization done (n=19): time 2.194e-06/6.739, allocations: 0 / 3.702 GB, free: 161 MB / 1.159 GB Notification: Performance of matching and sorting (n=19): time 0.001531/6.74, allocations: 413 kB / 3.703 GB, free: 160.6 MB / 1.159 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/6.74, allocations: 106.8 kB / 3.703 GB, free: 160.4 MB / 1.159 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/6.741, allocations: 353 kB / 3.703 GB, free: 160.1 MB / 1.159 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/6.741, allocations: 29.7 kB / 3.703 GB, free: 160 MB / 1.159 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/6.741, allocations: 362.9 kB / 3.703 GB, free: 159.7 MB / 1.159 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/6.741, allocations: 63.05 kB / 3.703 GB, free: 159.6 MB / 1.159 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/6.741, allocations: 0 / 3.703 GB, free: 159.6 MB / 1.159 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/6.741, allocations: 354.8 kB / 3.704 GB, free: 159.3 MB / 1.159 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/6.741, allocations: 87.95 kB / 3.704 GB, free: 159.2 MB / 1.159 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/6.741, allocations: 203.1 kB / 3.704 GB, free: 158.9 MB / 1.159 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/6.742, allocations: 158.5 kB / 3.704 GB, free: 158.8 MB / 1.159 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.742, allocations: 3.938 kB / 3.704 GB, free: 158.8 MB / 1.159 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005024/6.742, allocations: 353 kB / 3.704 GB, free: 158.4 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/6.742, allocations: 4 kB / 3.704 GB, free: 158.4 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/6.742, allocations: 4 kB / 3.705 GB, free: 158.4 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/6.742, allocations: 4 kB / 3.705 GB, free: 158.4 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/6.742, allocations: 71.84 kB / 3.705 GB, free: 158.3 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/6.743, allocations: 4 kB / 3.705 GB, free: 158.3 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/6.743, allocations: 51.75 kB / 3.705 GB, free: 158.3 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/6.743, allocations: 15.98 kB / 3.705 GB, free: 158.3 MB / 1.159 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.547e-05/6.743, allocations: 120.8 kB / 3.705 GB, free: 158.1 MB / 1.159 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/6.743, allocations: 47.44 kB / 3.705 GB, free: 158.1 MB / 1.159 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/6.744, allocations: 269.2 kB / 3.705 GB, free: 157.8 MB / 1.159 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/6.744, allocations: 0 / 3.705 GB, free: 157.8 MB / 1.159 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/6.744, allocations: 7.906 kB / 3.705 GB, free: 157.8 MB / 1.159 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/6.744, allocations: 0 / 3.705 GB, free: 157.8 MB / 1.159 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/6.745, allocations: 1.196 MB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/6.745, allocations: 4 kB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/6.745, allocations: 39.92 kB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/6.745, allocations: 8.469 kB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/6.745, allocations: 4 kB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/6.746, allocations: 11.98 kB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/6.746, allocations: 7.938 kB / 3.706 GB, free: 156.5 MB / 1.159 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004805/6.746, allocations: 0.6144 MB / 3.707 GB, free: 155.7 MB / 1.159 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/6.746, allocations: 140.5 kB / 3.707 GB, free: 155.5 MB / 1.159 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/6.746, allocations: 8 kB / 3.707 GB, free: 155.5 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/6.747, allocations: 35.97 kB / 3.707 GB, free: 155.5 MB / 1.159 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/6.747, allocations: 23.89 kB / 3.707 GB, free: 155.5 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/6.747, allocations: 8 kB / 3.707 GB, free: 155.5 MB / 1.159 GB Notification: Performance of sort global known variables: time 0.0002061/6.747, allocations: 271.2 kB / 3.707 GB, free: 155.2 MB / 1.159 GB Notification: Performance of remove unused functions: time 0.001023/6.748, allocations: 327.3 kB / 3.708 GB, free: 154.9 MB / 1.159 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 0.002618/6.751, allocations: 2.235 MB / 3.71 GB, free: 152.8 MB / 1.159 GB Notification: Performance of simCode: created initialization part: time 0.00035/6.751, allocations: 211.6 kB / 3.71 GB, free: 152.6 MB / 1.159 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/6.751, allocations: 3.938 kB / 3.71 GB, free: 152.6 MB / 1.159 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/6.751, allocations: 99.78 kB / 3.71 GB, free: 152.5 MB / 1.159 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/6.752, allocations: 184.8 kB / 3.71 GB, free: 152.3 MB / 1.159 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/6.753, allocations: 0.8485 MB / 3.711 GB, free: 151.4 MB / 1.159 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/6.754, allocations: 1.047 MB / 3.712 GB, free: 150.3 MB / 1.159 GB Notification: Performance of SimCode: time 4.21e-07/6.754, allocations: 0 / 3.712 GB, free: 150.3 MB / 1.159 GB Notification: Performance of Templates: time 0.02727/6.781, allocations: 18.24 MB / 3.73 GB, free: 132.2 MB / 1.159 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches