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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9814/0.9814, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.12/2.12, allocations: 429.5 MB / 0.6743 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|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=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8794 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.802e-05, allocations: 6.312 kB / 0.8794 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.143/0.143, allocations: 149.2 MB / 1.025 GB, free: 172 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00876/0.1517, allocations: 4.946 MB / 1.03 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.1532, allocations: 51.56 kB / 1.03 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1543, allocations: 285.9 kB / 1.03 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.1577, allocations: 1.298 MB / 1.032 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.1603, allocations: 1.032 MB / 1.033 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.1637, allocations: 2.607 MB / 1.035 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.165, allocations: 0.7972 MB / 1.036 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.1683, allocations: 1.592 MB / 1.037 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.17, allocations: 0.8415 MB / 1.038 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.1703, allocations: 104 kB / 1.038 GB, free: 2.629 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1714, allocations: 439 kB / 1.039 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000583/0.1719, allocations: 0.5415 MB / 1.039 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007583/0.1727, allocations: 467 kB / 1.04 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.1749, allocations: 1.223 MB / 1.041 GB, free: 15.97 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1749, allocations: 0 / 1.041 GB, free: 15.97 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1749, allocations: 0 / 1.041 GB, free: 15.97 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.1749, allocations: 0 / 1.041 GB, free: 15.97 MB / 1.01 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.001409/0.1763, allocations: 1.518 MB / 1.042 GB, free: 14.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1763, allocations: 12.03 kB / 1.042 GB, free: 14.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1774, allocations: 347.2 kB / 1.043 GB, free: 14.06 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.1781, allocations: 0.7073 MB / 1.044 GB, free: 13.32 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.1781, allocations: 74 kB / 1.044 GB, free: 13.25 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.1782, allocations: 103.9 kB / 1.044 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.1789, allocations: 0.907 MB / 1.045 GB, free: 12.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.179, allocations: 11.94 kB / 1.045 GB, free: 12.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.179, allocations: 36 kB / 1.045 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.179, allocations: 38 kB / 1.045 GB, free: 12.03 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.1794, allocations: 313.4 kB / 1.045 GB, free: 11.73 MB / 1.01 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.003191/0.1826, allocations: 4.718 MB / 1.05 GB, free: 6.855 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.1829, allocations: 249.8 kB / 1.05 GB, free: 6.598 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.183, allocations: 122.8 kB / 1.05 GB, free: 6.473 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.1832, allocations: 56.44 kB / 1.05 GB, free: 6.418 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1832, allocations: 41.89 kB / 1.05 GB, free: 6.367 MB / 1.01 GB Notification: Performance of pre-optimization done (n=49): time 1.683e-06/0.1832, allocations: 0 / 1.05 GB, free: 6.367 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.0005794/0.1838, allocations: 420.4 kB / 1.05 GB, free: 5.953 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1839, allocations: 59.91 kB / 1.05 GB, free: 5.883 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.1843, allocations: 0.6785 MB / 1.051 GB, free: 5.188 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.1843, allocations: 41.64 kB / 1.051 GB, free: 5.141 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.1846, allocations: 0.5884 MB / 1.052 GB, free: 4.543 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1847, allocations: 190.4 kB / 1.052 GB, free: 4.355 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1848, allocations: 172.2 kB / 1.052 GB, free: 4.176 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.185, allocations: 0.5741 MB / 1.053 GB, free: 3.59 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.676e-05/0.1851, allocations: 73.94 kB / 1.053 GB, free: 3.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.1855, allocations: 0.8578 MB / 1.054 GB, free: 2.371 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.1859, allocations: 0.6666 MB / 1.054 GB, free: 1.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1859, allocations: 0 / 1.054 GB, free: 1.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005756/0.1865, allocations: 0.5872 MB / 1.055 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1865, allocations: 8 kB / 1.055 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1865, allocations: 8 kB / 1.055 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1865, allocations: 20.03 kB / 1.055 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.1869, allocations: 175.7 kB / 1.055 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1869, allocations: 19.94 kB / 1.055 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.1872, allocations: 92.11 kB / 1.055 GB, free: 0.6055 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1872, allocations: 28 kB / 1.055 GB, free: 0.5781 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (95): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.1874, allocations: 216.2 kB / 1.055 GB, free: 364 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.1875, allocations: 95.48 kB / 1.055 GB, free: 268 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4654/0.6529, allocations: 355.7 kB / 1.056 GB, free: 78.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.6529, allocations: 3 kB / 1.056 GB, free: 78.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6529, allocations: 2.938 kB / 1.056 GB, free: 78.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003052/0.6532, allocations: 253 kB / 1.056 GB, free: 78.86 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.6551, allocations: 1.03 MB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6551, allocations: 3.969 kB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.6556, allocations: 106 kB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6556, allocations: 3.781 kB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.6557, allocations: 21.39 kB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.6557, allocations: 6.438 kB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6557, allocations: 3.094 kB / 1.057 GB, free: 78.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.6566, allocations: 0.6252 MB / 1.058 GB, free: 78.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.6569, allocations: 131.6 kB / 1.058 GB, free: 78.24 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.657, allocations: 14.09 kB / 1.058 GB, free: 78.24 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.6574, allocations: 13.75 kB / 1.058 GB, free: 78.24 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.6575, allocations: 41.22 kB / 1.058 GB, free: 78.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.6575, allocations: 17.61 kB / 1.058 GB, free: 78.24 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004378/0.6579, allocations: 393.7 kB / 1.058 GB, free: 78.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6579, allocations: 0 / 1.058 GB, free: 78.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009661/0.6589, allocations: 323.4 kB / 1.059 GB, free: 78.1 MB / 1.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005313/0.6594, allocations: 174.9 kB / 1.059 GB, free: 78.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005594/0.66, allocations: 346.8 kB / 1.059 GB, free: 78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.66, allocations: 2.781 kB / 1.059 GB, free: 78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.6601, allocations: 145.8 kB / 1.059 GB, free: 77.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6612, allocations: 385.2 kB / 1.06 GB, free: 77.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.6638, allocations: 1.673 MB / 1.061 GB, free: 77.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.664, allocations: 251 kB / 1.062 GB, free: 77.11 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004727/0.6645, allocations: 132.2 kB / 1.062 GB, free: 77.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.6651, allocations: 386.4 kB / 1.062 GB, free: 77.03 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/0.6651, allocations: 0.875 kB / 1.062 GB, free: 77.03 MB / 1.01 GB Notification: Performance of Templates: time 0.02183/0.6869, allocations: 15.71 MB / 1.077 GB, free: 75.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.497031196951866]