Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001449/0.001449, allocations: 181.3 kB / 487 MB, free: 5.391 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.397/1.397, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 96.61 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.286e-06, allocations: 7.938 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.332/4.595, allocations: 1.972 GB / 3.177 GB, free: 342.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/4.595, allocations: 91.89 kB / 3.177 GB, free: 342.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.805/6.4, allocations: 0.6663 GB / 3.844 GB, free: 103.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.7e-05/6.4, allocations: 31.94 kB / 3.844 GB, free: 103.2 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00239/6.403, allocations: 1.317 MB / 3.845 GB, free: 101.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/6.403, allocations: 8.031 kB / 3.845 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/6.404, allocations: 266.3 kB / 3.845 GB, free: 101.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/6.407, allocations: 1.124 MB / 3.846 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/6.407, allocations: 32 kB / 3.846 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/6.407, allocations: 56 kB / 3.846 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/6.408, allocations: 0.7809 MB / 3.847 GB, free: 99.55 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/6.409, allocations: 0.994 MB / 3.848 GB, free: 98.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/6.409, allocations: 4 kB / 3.848 GB, free: 98.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/6.409, allocations: 0 / 3.848 GB, free: 98.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/6.409, allocations: 34 kB / 3.848 GB, free: 98.45 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/6.413, allocations: 5.851 MB / 3.854 GB, free: 92.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/6.414, allocations: 0.5202 MB / 3.854 GB, free: 91.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/6.414, allocations: 306.6 kB / 3.855 GB, free: 91.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/6.415, allocations: 315.7 kB / 3.855 GB, free: 90.97 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/6.415, allocations: 39 kB / 3.855 GB, free: 90.93 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 2.305e-06/6.415, allocations: 0 / 3.855 GB, free: 90.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.001336/6.416, allocations: 0.6114 MB / 3.856 GB, free: 90.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/6.416, allocations: 59.78 kB / 3.856 GB, free: 90.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/6.417, allocations: 0.5192 MB / 3.856 GB, free: 89.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/6.417, allocations: 33.7 kB / 3.856 GB, free: 89.67 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/6.417, allocations: 418.5 kB / 3.857 GB, free: 89.25 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/6.417, allocations: 173.5 kB / 3.857 GB, free: 89.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/6.417, allocations: 0 / 3.857 GB, free: 89.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001097/6.418, allocations: 382.8 kB / 3.857 GB, free: 88.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/6.418, allocations: 229.5 kB / 3.857 GB, free: 88.47 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/6.418, allocations: 0.5499 MB / 3.858 GB, free: 87.77 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/6.419, allocations: 374.7 kB / 3.858 GB, free: 87.41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/6.419, allocations: 8 kB / 3.858 GB, free: 87.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001026/6.42, allocations: 0.7907 MB / 3.859 GB, free: 86.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/6.42, allocations: 4 kB / 3.859 GB, free: 86.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/6.42, allocations: 8 kB / 3.859 GB, free: 86.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/6.42, allocations: 16.81 kB / 3.859 GB, free: 86.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/6.42, allocations: 155.8 kB / 3.859 GB, free: 86.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/6.42, allocations: 19.92 kB / 3.859 GB, free: 86.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/6.421, allocations: 115.2 kB / 3.859 GB, free: 86.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/6.421, allocations: 39.94 kB / 3.859 GB, free: 86.25 MB / 1.151 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 0.0001478/6.422, allocations: 128.7 kB / 3.859 GB, free: 86.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/6.422, allocations: 78.97 kB / 3.86 GB, free: 86.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009007/6.423, allocations: 0.6004 MB / 3.86 GB, free: 85.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/6.423, allocations: 8 kB / 3.86 GB, free: 85.42 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/6.423, allocations: 4 kB / 3.86 GB, free: 85.42 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006265/6.423, allocations: 0.5241 MB / 3.861 GB, free: 84.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/6.425, allocations: 1.559 MB / 3.862 GB, free: 83.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/6.425, allocations: 0 / 3.862 GB, free: 83.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/6.426, allocations: 107.9 kB / 3.862 GB, free: 83.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/6.426, allocations: 4 kB / 3.862 GB, free: 83.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/6.426, allocations: 7.984 kB / 3.862 GB, free: 83.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/6.426, allocations: 4 kB / 3.862 GB, free: 83.14 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/6.426, allocations: 8.219 kB / 3.862 GB, free: 83.13 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/6.427, allocations: 1.089 MB / 3.863 GB, free: 81.96 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/6.428, allocations: 216 kB / 3.864 GB, free: 81.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/6.428, allocations: 15.98 kB / 3.864 GB, free: 81.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/6.428, allocations: 47.86 kB / 3.864 GB, free: 81.66 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/6.428, allocations: 35.73 kB / 3.864 GB, free: 81.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/6.428, allocations: 16 kB / 3.864 GB, free: 81.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004237/6.429, allocations: 411.1 kB / 3.864 GB, free: 81.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001329/6.43, allocations: 435 kB / 3.864 GB, free: 80.79 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002569/6.433, allocations: 2.126 MB / 3.867 GB, free: 78.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008815/6.434, allocations: 0.5705 MB / 3.867 GB, free: 78.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/6.434, allocations: 2.125 kB / 3.867 GB, free: 78.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/6.434, allocations: 267.7 kB / 3.867 GB, free: 77.76 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/6.436, allocations: 346.7 kB / 3.868 GB, free: 77.42 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/6.438, allocations: 1.512 MB / 3.869 GB, free: 75.86 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/6.439, allocations: 1.218 MB / 3.87 GB, free: 74.61 MB / 1.151 GB Notification: Performance of SimCode: time 1.614e-06/6.439, allocations: 0 / 3.87 GB, free: 74.61 MB / 1.151 GB Notification: Performance of Templates: time 0.0343/6.473, allocations: 23.97 MB / 3.894 GB, free: 50.81 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches