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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.941 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.001032/0.001032, allocations: 188.3 kB / 316.3 MB, free: 3.23 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.392/1.392, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008575/0.0008575, allocations: 86.52 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.551e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1992, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.205/6.404, allocations: 2.246 GB / 3.131 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/6.405, allocations: 90.31 kB / 3.132 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.614/9.019, allocations: 0.6298 GB / 3.761 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/9.019, allocations: 2.844 kB / 3.761 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000129/9.019, allocations: 31.67 kB / 3.761 GB, free: 153.3 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.003846/9.023, allocations: 1.314 MB / 3.763 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/9.023, allocations: 12.03 kB / 3.763 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/9.025, allocations: 246.3 kB / 3.763 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/9.028, allocations: 1.104 MB / 3.764 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/9.028, allocations: 28 kB / 3.764 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/9.028, allocations: 63.89 kB / 3.764 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/9.03, allocations: 0.7575 MB / 3.765 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/9.031, allocations: 0.9861 MB / 3.766 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/9.031, allocations: 7.938 kB / 3.766 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/9.031, allocations: 0 / 3.766 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/9.032, allocations: 34 kB / 3.766 GB, free: 148.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005178/9.037, allocations: 5.506 MB / 3.771 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/9.037, allocations: 0.4974 MB / 3.772 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/9.038, allocations: 286.6 kB / 3.772 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/9.038, allocations: 311.5 kB / 3.772 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/9.038, allocations: 38.95 kB / 3.772 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 2.875e-06/9.038, allocations: 3.828 kB / 3.772 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001243/9.039, allocations: 0.5693 MB / 3.773 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/9.04, allocations: 59.84 kB / 3.773 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/9.04, allocations: 0.5114 MB / 3.773 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/9.04, allocations: 25.7 kB / 3.773 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/9.04, allocations: 0.5063 MB / 3.774 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/9.041, allocations: 173.4 kB / 3.774 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/9.041, allocations: 0 / 3.774 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001034/9.041, allocations: 378.8 kB / 3.774 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/9.041, allocations: 225.5 kB / 3.775 GB, free: 139 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/9.041, allocations: 0.5241 MB / 3.775 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/9.042, allocations: 352.5 kB / 3.776 GB, free: 138 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/9.042, allocations: 4 kB / 3.776 GB, free: 138 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001088/9.043, allocations: 0.7572 MB / 3.776 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/9.043, allocations: 11.98 kB / 3.776 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/9.043, allocations: 8.062 kB / 3.776 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/9.043, allocations: 23.95 kB / 3.776 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/9.044, allocations: 151.8 kB / 3.776 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/9.044, allocations: 12 kB / 3.776 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/9.045, allocations: 114.5 kB / 3.777 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/9.045, allocations: 32 kB / 3.777 GB, free: 136.9 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 0.0001394/9.045, allocations: 133.4 kB / 3.777 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/9.045, allocations: 71.16 kB / 3.777 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/9.046, allocations: 0.5776 MB / 3.777 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/9.046, allocations: 7.953 kB / 3.777 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/9.046, allocations: 7.984 kB / 3.777 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006083/9.047, allocations: 0.4938 MB / 3.778 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/9.049, allocations: 1.525 MB / 3.779 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/9.049, allocations: 0 / 3.779 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/9.049, allocations: 115.8 kB / 3.779 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/9.049, allocations: 7.938 kB / 3.779 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/9.049, allocations: 11.98 kB / 3.78 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/9.049, allocations: 4 kB / 3.78 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/9.049, allocations: 0 / 3.78 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/9.05, allocations: 1.086 MB / 3.781 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/9.051, allocations: 220 kB / 3.781 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/9.051, allocations: 4 kB / 3.781 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/9.052, allocations: 59.84 kB / 3.781 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/9.052, allocations: 31.95 kB / 3.781 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/9.052, allocations: 16 kB / 3.781 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000407/9.052, allocations: 407.1 kB / 3.781 GB, free: 132 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.052, allocations: 0 / 3.781 GB, free: 132 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001338/9.053, allocations: 417 kB / 3.782 GB, free: 131.6 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.003108/9.057, allocations: 2.128 MB / 3.784 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000821/9.057, allocations: 0.5433 MB / 3.784 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/9.057, allocations: 0 / 3.784 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/9.058, allocations: 253.6 kB / 3.785 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/9.06, allocations: 368.2 kB / 3.785 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/9.062, allocations: 1.483 MB / 3.786 GB, free: 127 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/9.063, allocations: 1.145 MB / 3.787 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000885/9.064, allocations: 249.3 kB / 3.788 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/9.064, allocations: 67.42 kB / 3.788 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.12e-07/9.064, allocations: 0 / 3.788 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.03542/9.099, allocations: 23.03 MB / 3.81 GB, free: 102.8 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