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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 173.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001133/0.001133, allocations: 88.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 10.69 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 106.4 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.214, allocations: 2.246 GB / 3.146 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/6.215, allocations: 93.05 kB / 3.146 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.498/8.713, allocations: 0.638 GB / 3.784 GB, free: 177 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.563e-06/8.713, allocations: 0 / 3.784 GB, free: 177 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.487e-05/8.713, allocations: 37.94 kB / 3.784 GB, free: 177 MB / 0.8855 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.003459/8.716, allocations: 1.46 MB / 3.786 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/8.716, allocations: 7.594 kB / 3.786 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/8.718, allocations: 248.7 kB / 3.786 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/8.72, allocations: 1.122 MB / 3.787 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/8.72, allocations: 72 kB / 3.787 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/8.72, allocations: 93.38 kB / 3.787 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/8.722, allocations: 1.127 MB / 3.788 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/8.722, allocations: 3.609 kB / 3.788 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/8.722, allocations: 43.44 kB / 3.788 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/8.722, allocations: 33.33 kB / 3.788 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/8.724, allocations: 0.8583 MB / 3.789 GB, free: 175.9 MB / 0.8855 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.005394/8.729, allocations: 5.678 MB / 3.795 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/8.73, allocations: 0.5376 MB / 3.795 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/8.731, allocations: 311.9 kB / 3.796 GB, free: 172 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/8.731, allocations: 37.09 kB / 3.796 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=49): time 3.206e-06/8.731, allocations: 0 / 3.796 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.001521/8.732, allocations: 0.7727 MB / 3.796 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/8.732, allocations: 61.88 kB / 3.796 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/8.733, allocations: 0.645 MB / 3.797 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/8.733, allocations: 38.23 kB / 3.797 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/8.733, allocations: 0.4906 MB / 3.798 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/8.733, allocations: 177.7 kB / 3.798 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/8.733, allocations: 15.03 kB / 3.798 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001194/8.734, allocations: 396.3 kB / 3.798 GB, free: 171 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/8.734, allocations: 240.4 kB / 3.798 GB, free: 171 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/8.734, allocations: 0.5589 MB / 3.799 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/8.735, allocations: 343.2 kB / 3.799 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/8.735, allocations: 0 / 3.799 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001082/8.736, allocations: 0.8334 MB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/8.736, allocations: 6.875 kB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/8.736, allocations: 7.875 kB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/8.736, allocations: 14.72 kB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/8.737, allocations: 152.5 kB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/8.737, allocations: 23.03 kB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/8.738, allocations: 129.6 kB / 3.8 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/8.738, allocations: 41.02 kB / 3.8 GB, free: 170.5 MB / 0.8855 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.0004214/8.738, allocations: 335.5 kB / 3.801 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/8.738, allocations: 83.47 kB / 3.801 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/8.739, allocations: 0.6018 MB / 3.801 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/8.739, allocations: 9.906 kB / 3.801 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.739, allocations: 2.688 kB / 3.801 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005833/8.74, allocations: 0.4987 MB / 3.802 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/8.742, allocations: 1.654 MB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/8.742, allocations: 1.812 kB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/8.742, allocations: 110.2 kB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/8.742, allocations: 7.578 kB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/8.743, allocations: 14.19 kB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/8.743, allocations: 6.531 kB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/8.743, allocations: 14.77 kB / 3.804 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/8.744, allocations: 1.098 MB / 3.805 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/8.744, allocations: 229.1 kB / 3.805 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/8.745, allocations: 19.45 kB / 3.805 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/8.745, allocations: 70.47 kB / 3.805 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/8.745, allocations: 33.95 kB / 3.805 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/8.745, allocations: 15.44 kB / 3.805 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000682/8.746, allocations: 0.5015 MB / 3.806 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/8.746, allocations: 0 / 3.806 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002162/8.748, allocations: 489.6 kB / 3.806 GB, free: 169.2 MB / 0.8855 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 () * 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.003552/8.752, allocations: 1.903 MB / 3.808 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00109/8.753, allocations: 0.583 MB / 3.808 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/8.753, allocations: 0 / 3.808 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/8.753, allocations: 268.6 kB / 3.809 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/8.755, allocations: 429.5 kB / 3.809 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/8.758, allocations: 2.335 MB / 3.811 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/8.759, allocations: 1.138 MB / 3.813 GB, free: 167 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008854/8.76, allocations: 272.2 kB / 3.813 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/8.76, allocations: 74.23 kB / 3.813 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/8.76, allocations: 0 / 3.813 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.05082/8.811, allocations: 36.51 MB / 3.849 GB, free: 166 MB / 0.8855 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