Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") [: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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 184.5 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.093/1.093, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008927/0.0008927, allocations: 83.45 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.614e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1607, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.63/3.791, allocations: 2.246 GB / 3.131 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/3.791, allocations: 87.95 kB / 3.131 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.722/5.514, allocations: 0.6372 GB / 3.768 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.518e-05/5.514, allocations: 30.78 kB / 3.768 GB, free: 168.9 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00194/5.516, allocations: 1.319 MB / 3.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/5.516, allocations: 8.594 kB / 3.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/5.517, allocations: 263.6 kB / 3.77 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/5.519, allocations: 1.111 MB / 3.771 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/5.519, allocations: 28.75 kB / 3.771 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/5.519, allocations: 60.28 kB / 3.771 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/5.52, allocations: 0.7826 MB / 3.772 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/5.522, allocations: 1.002 MB / 3.773 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/5.522, allocations: 2.031 kB / 3.773 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/5.522, allocations: 1.531 kB / 3.773 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/5.522, allocations: 40.36 kB / 3.773 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/5.526, allocations: 5.668 MB / 3.778 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/5.527, allocations: 0.5151 MB / 3.779 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/5.527, allocations: 298.7 kB / 3.779 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/5.528, allocations: 317.7 kB / 3.779 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/5.528, allocations: 37.03 kB / 3.779 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 1.643e-06/5.528, allocations: 1 kB / 3.779 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001228/5.529, allocations: 0.6051 MB / 3.78 GB, free: 160 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/5.529, allocations: 56.25 kB / 3.78 GB, free: 160 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/5.529, allocations: 0.5115 MB / 3.78 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/5.529, allocations: 27.36 kB / 3.78 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/5.53, allocations: 421.6 kB / 3.781 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/5.53, allocations: 176.8 kB / 3.781 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/5.53, allocations: 0 / 3.781 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/5.53, allocations: 384.7 kB / 3.781 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/5.53, allocations: 227 kB / 3.782 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/5.531, allocations: 0.538 MB / 3.782 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/5.531, allocations: 373.3 kB / 3.783 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/5.531, allocations: 4 kB / 3.783 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009402/5.532, allocations: 0.7742 MB / 3.783 GB, free: 157 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/5.532, allocations: 8 kB / 3.783 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/5.532, allocations: 11.98 kB / 3.783 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/5.532, allocations: 15.91 kB / 3.783 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/5.533, allocations: 155.7 kB / 3.783 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/5.533, allocations: 15.94 kB / 3.783 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/5.533, allocations: 110.6 kB / 3.784 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/5.533, allocations: 36 kB / 3.784 GB, free: 156.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 9.964e-05/5.534, allocations: 128.7 kB / 3.784 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/5.534, allocations: 82.59 kB / 3.784 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008205/5.534, allocations: 0.6002 MB / 3.784 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/5.534, allocations: 4 kB / 3.784 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.534, allocations: 0 / 3.784 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006066/5.535, allocations: 0.5196 MB / 3.785 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/5.537, allocations: 1.556 MB / 3.786 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/5.537, allocations: 0 / 3.786 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/5.537, allocations: 115.9 kB / 3.787 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/5.537, allocations: 4 kB / 3.787 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/5.538, allocations: 4 kB / 3.787 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/5.538, allocations: 7.844 kB / 3.787 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/5.538, allocations: 3.938 kB / 3.787 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/5.539, allocations: 1.115 MB / 3.788 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/5.539, allocations: 212.1 kB / 3.788 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/5.539, allocations: 11.91 kB / 3.788 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/5.54, allocations: 58.25 kB / 3.788 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/5.54, allocations: 39.8 kB / 3.788 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/5.54, allocations: 12 kB / 3.788 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003289/5.54, allocations: 403.1 kB / 3.788 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001032/5.541, allocations: 425.7 kB / 3.789 GB, free: 151.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.002036/5.543, allocations: 2.134 MB / 3.791 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006325/5.544, allocations: 0.5625 MB / 3.791 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/5.544, allocations: 2.125 kB / 3.791 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/5.544, allocations: 259.7 kB / 3.792 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/5.545, allocations: 352.2 kB / 3.792 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/5.547, allocations: 1.488 MB / 3.793 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/5.548, allocations: 1.22 MB / 3.795 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/5.548, allocations: 0 / 3.795 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02871/5.577, allocations: 23.86 MB / 3.818 GB, free: 122.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches