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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001442/0.001442, allocations: 177.2 kB / 498.1 MB, free: 5.75 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.641/1.641, allocations: 223.2 MB / 0.7948 GB, free: 18.75 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.001177/0.001177, allocations: 90.58 kB / 0.9346 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 11.92 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3454, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.176/5.522, allocations: 1.973 GB / 3.196 GB, free: 4.887 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/5.522, allocations: 97.12 kB / 3.196 GB, free: 4.793 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.142/8.664, allocations: 0.667 GB / 3.863 GB, free: 251.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.374e-06/8.664, allocations: 0 / 3.863 GB, free: 251.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001484/8.664, allocations: 35.92 kB / 3.863 GB, free: 251.5 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.005368/8.67, allocations: 1.477 MB / 3.864 GB, free: 250 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/8.67, allocations: 8.031 kB / 3.864 GB, free: 250 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/8.672, allocations: 254.3 kB / 3.864 GB, free: 249.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/8.676, allocations: 1.123 MB / 3.866 GB, free: 248.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.668e-05/8.676, allocations: 70 kB / 3.866 GB, free: 248.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/8.676, allocations: 96 kB / 3.866 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/8.679, allocations: 1.115 MB / 3.867 GB, free: 247.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/8.679, allocations: 3.938 kB / 3.867 GB, free: 247.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/8.679, allocations: 40 kB / 3.867 GB, free: 247.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.059e-05/8.679, allocations: 30 kB / 3.867 GB, free: 247.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/8.681, allocations: 0.8469 MB / 3.868 GB, free: 246.3 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.007101/8.688, allocations: 5.705 MB / 3.873 GB, free: 240.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/8.689, allocations: 0.5438 MB / 3.874 GB, free: 239.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/8.69, allocations: 307.7 kB / 3.874 GB, free: 239.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/8.69, allocations: 39 kB / 3.874 GB, free: 239.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 4.258e-06/8.69, allocations: 4 kB / 3.874 GB, free: 239.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.001768/8.692, allocations: 0.783 MB / 3.875 GB, free: 238.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/8.692, allocations: 59.84 kB / 3.875 GB, free: 238.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/8.693, allocations: 0.6487 MB / 3.876 GB, free: 237.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/8.693, allocations: 37.7 kB / 3.876 GB, free: 237.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/8.693, allocations: 0.5027 MB / 3.876 GB, free: 237.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/8.693, allocations: 181.4 kB / 3.876 GB, free: 237 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/8.693, allocations: 14.41 kB / 3.876 GB, free: 237 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001209/8.694, allocations: 334 kB / 3.877 GB, free: 236.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/8.694, allocations: 249.8 kB / 3.877 GB, free: 236.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/8.695, allocations: 0.5652 MB / 3.877 GB, free: 235.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/8.695, allocations: 356.5 kB / 3.878 GB, free: 235.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/8.695, allocations: 4 kB / 3.878 GB, free: 235.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001325/8.697, allocations: 0.8349 MB / 3.879 GB, free: 234.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/8.697, allocations: 9.25 kB / 3.879 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/8.697, allocations: 8 kB / 3.879 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/8.697, allocations: 12 kB / 3.879 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/8.697, allocations: 155.7 kB / 3.879 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/8.697, allocations: 15.94 kB / 3.879 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/8.698, allocations: 147.2 kB / 3.879 GB, free: 234.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/8.699, allocations: 39.98 kB / 3.879 GB, free: 234.1 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.0006546/8.699, allocations: 325.5 kB / 3.879 GB, free: 233.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/8.7, allocations: 98.81 kB / 3.879 GB, free: 233.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009903/8.701, allocations: 0.6102 MB / 3.88 GB, free: 233.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/8.701, allocations: 4 kB / 3.88 GB, free: 233.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/8.701, allocations: 3.984 kB / 3.88 GB, free: 233.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006089/8.701, allocations: 0.5133 MB / 3.88 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/8.704, allocations: 1.656 MB / 3.882 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/8.704, allocations: 0 / 3.882 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/8.705, allocations: 115.8 kB / 3.882 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/8.705, allocations: 4 kB / 3.882 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/8.705, allocations: 12 kB / 3.882 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/8.705, allocations: 7.984 kB / 3.882 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/8.705, allocations: 4.219 kB / 3.882 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/8.706, allocations: 1.091 MB / 3.883 GB, free: 229.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/8.707, allocations: 223.8 kB / 3.883 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/8.707, allocations: 16 kB / 3.884 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/8.708, allocations: 67.78 kB / 3.884 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/8.708, allocations: 31.92 kB / 3.884 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/8.708, allocations: 19.98 kB / 3.884 GB, free: 229.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000683/8.709, allocations: 0.5068 MB / 3.884 GB, free: 228.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.709, allocations: 0 / 3.884 GB, free: 228.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002265/8.711, allocations: 479.3 kB / 3.885 GB, free: 228.2 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.00384/8.715, allocations: 1.912 MB / 3.886 GB, free: 226.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001147/8.716, allocations: 0.5918 MB / 3.887 GB, free: 225.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/8.716, allocations: 0 / 3.887 GB, free: 225.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/8.716, allocations: 271.6 kB / 3.887 GB, free: 225.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/8.719, allocations: 433.5 kB / 3.888 GB, free: 225 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/8.724, allocations: 2.359 MB / 3.89 GB, free: 222.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008978/8.725, allocations: 1.142 MB / 3.891 GB, free: 221.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00123/8.726, allocations: 263.1 kB / 3.891 GB, free: 221.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/8.727, allocations: 75.42 kB / 3.891 GB, free: 221 MB / 1.167 GB Notification: Performance of SimCode: time 2.505e-06/8.727, allocations: 0 / 3.891 GB, free: 221 MB / 1.167 GB Notification: Performance of Templates: time 0.06153/8.788, allocations: 36.6 MB / 3.927 GB, free: 184.6 MB / 1.167 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