Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.381/2.381, allocations: 393.5 MB / 408.4 MB, free: 11 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.001122/0.001123, allocations: 179.2 kB / 0.4902 GB, free: 2.238 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.784/1.784, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001298/0.001298, allocations: 97.7 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004645, allocations: 10.81 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4384, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.517/5.955, allocations: 1.974 GB / 3.203 GB, free: 5.973 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/5.956, allocations: 92.52 kB / 3.203 GB, free: 5.883 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.76/8.716, allocations: 0.667 GB / 3.87 GB, free: 244.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.866e-06/8.716, allocations: 0 / 3.87 GB, free: 244.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001543/8.716, allocations: 35.98 kB / 3.87 GB, free: 244.2 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004882/8.721, allocations: 1.467 MB / 3.871 GB, free: 242.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/8.721, allocations: 12.03 kB / 3.871 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/8.723, allocations: 254.3 kB / 3.872 GB, free: 242.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/8.727, allocations: 1.127 MB / 3.873 GB, free: 241.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/8.728, allocations: 70 kB / 3.873 GB, free: 241.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/8.728, allocations: 95.94 kB / 3.873 GB, free: 241.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/8.731, allocations: 1.119 MB / 3.874 GB, free: 240 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/8.731, allocations: 0 / 3.874 GB, free: 240 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/8.731, allocations: 44 kB / 3.874 GB, free: 239.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/8.731, allocations: 30 kB / 3.874 GB, free: 239.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/8.733, allocations: 0.8469 MB / 3.875 GB, free: 239 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00727/8.74, allocations: 5.703 MB / 3.88 GB, free: 232.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/8.742, allocations: 0.5434 MB / 3.881 GB, free: 232.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/8.742, allocations: 319.7 kB / 3.881 GB, free: 232 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/8.742, allocations: 38.94 kB / 3.881 GB, free: 231.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/8.742, allocations: 0 / 3.881 GB, free: 231.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.001933/8.744, allocations: 0.7792 MB / 3.882 GB, free: 231.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/8.744, allocations: 63.83 kB / 3.882 GB, free: 231.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/8.745, allocations: 0.6526 MB / 3.883 GB, free: 230.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/8.745, allocations: 37.7 kB / 3.883 GB, free: 230.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/8.746, allocations: 0.5027 MB / 3.883 GB, free: 229.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/8.746, allocations: 177.4 kB / 3.883 GB, free: 229.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/8.746, allocations: 16 kB / 3.883 GB, free: 229.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/8.746, allocations: 334 kB / 3.884 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/8.747, allocations: 245.6 kB / 3.884 GB, free: 229.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/8.747, allocations: 0.5801 MB / 3.885 GB, free: 228.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/8.748, allocations: 344.6 kB / 3.885 GB, free: 228 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/8.748, allocations: 3.953 kB / 3.885 GB, free: 228 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001533/8.749, allocations: 0.8344 MB / 3.886 GB, free: 227.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/8.749, allocations: 8 kB / 3.886 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/8.749, allocations: 8 kB / 3.886 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/8.749, allocations: 12.75 kB / 3.886 GB, free: 227.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/8.75, allocations: 159.7 kB / 3.886 GB, free: 227 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/8.75, allocations: 19.94 kB / 3.886 GB, free: 227 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/8.752, allocations: 147.1 kB / 3.886 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/8.752, allocations: 35.98 kB / 3.886 GB, free: 226.8 MB / 1.167 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 () * Number of clocked 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.0006115/8.752, allocations: 333.5 kB / 3.886 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/8.753, allocations: 90.83 kB / 3.886 GB, free: 226.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/8.754, allocations: 0.614 MB / 3.887 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/8.754, allocations: 4 kB / 3.887 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/8.754, allocations: 0 / 3.887 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008398/8.755, allocations: 0.5095 MB / 3.888 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/8.758, allocations: 1.657 MB / 3.889 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/8.758, allocations: 4 kB / 3.889 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/8.759, allocations: 112.1 kB / 3.889 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/8.759, allocations: 4 kB / 3.889 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/8.759, allocations: 12 kB / 3.889 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/8.759, allocations: 4 kB / 3.889 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/8.759, allocations: 4 kB / 3.889 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/8.76, allocations: 1.095 MB / 3.89 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/8.761, allocations: 220 kB / 3.891 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/8.761, allocations: 11.98 kB / 3.891 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/8.762, allocations: 67.8 kB / 3.891 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/8.762, allocations: 43.84 kB / 3.891 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/8.762, allocations: 23.48 kB / 3.891 GB, free: 221.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007607/8.763, allocations: 0.5067 MB / 3.891 GB, free: 221.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/8.763, allocations: 0 / 3.891 GB, free: 221.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002107/8.765, allocations: 483.3 kB / 3.892 GB, free: 220.8 MB / 1.167 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 () * Number of clocked 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.002936/8.768, allocations: 1.894 MB / 3.894 GB, free: 218.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00119/8.769, allocations: 0.5924 MB / 3.894 GB, free: 218.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/8.769, allocations: 0 / 3.894 GB, free: 218.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/8.769, allocations: 276.1 kB / 3.894 GB, free: 218 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/8.772, allocations: 428.5 kB / 3.895 GB, free: 217.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/8.775, allocations: 2.348 MB / 3.897 GB, free: 215.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/8.776, allocations: 1.149 MB / 3.898 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001282/8.777, allocations: 275.1 kB / 3.898 GB, free: 213.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/8.778, allocations: 71.42 kB / 3.899 GB, free: 213.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.82e-07/8.778, allocations: 0 / 3.899 GB, free: 213.7 MB / 1.167 GB Notification: Performance of Templates: time 0.06881/8.847, allocations: 36.61 MB / 3.934 GB, free: 177.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches