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.0009504/0.0009504, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001012/0.001012, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.9773/0.9773, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.329/2.329, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.142e-06/1.142e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.97e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1449/0.1449, allocations: 151.4 MB / 0.9864 GB, free: 6.27 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.007107/0.152, allocations: 5.053 MB / 0.9914 GB, free: 1.203 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.1528, allocations: 55.56 kB / 0.9914 GB, free: 1.148 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.1535, allocations: 285.9 kB / 0.9917 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.1557, allocations: 1.294 MB / 0.9929 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.1575, allocations: 1.04 MB / 0.994 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.1597, allocations: 2.595 MB / 0.9965 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.1606, allocations: 0.8167 MB / 0.9973 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.1629, allocations: 1.559 MB / 0.9988 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009021/0.1638, allocations: 0.8102 MB / 0.9996 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1639, allocations: 108 kB / 0.9997 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.1646, allocations: 431 kB / 1 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.1649, allocations: 0.5376 MB / 1.001 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.1653, allocations: 471 kB / 1.001 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.1664, allocations: 1.227 MB / 1.002 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1664, allocations: 0 / 1.002 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1664, allocations: 0 / 1.002 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1665, allocations: 4 kB / 1.002 GB, free: 6.008 MB / 0.9636 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.001266/0.1677, allocations: 1.339 MB / 1.004 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1678, allocations: 12.62 kB / 1.004 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.1684, allocations: 319.8 kB / 1.004 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.1692, allocations: 0.6332 MB / 1.005 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.1692, allocations: 74 kB / 1.005 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.1693, allocations: 92 kB / 1.005 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.17, allocations: 0.8712 MB / 1.006 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.17, allocations: 3.938 kB / 1.006 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.1701, allocations: 40 kB / 1.006 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.1701, allocations: 30 kB / 1.006 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.1705, allocations: 322 kB / 1.006 GB, free: 2.121 MB / 0.9636 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.002628/0.1731, allocations: 3.426 MB / 1.009 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1734, allocations: 286.6 kB / 1.01 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1736, allocations: 114.8 kB / 1.01 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.1737, allocations: 52.44 kB / 1.01 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1738, allocations: 39.06 kB / 1.01 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=49): time 1.864e-06/0.1738, allocations: 0 / 1.01 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of matching and sorting (n=49): time 0.000504/0.1743, allocations: 321.9 kB / 1.01 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1743, allocations: 59.89 kB / 1.01 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1747, allocations: 0.5972 MB / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.1747, allocations: 37.7 kB / 1.011 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1749, allocations: 453.1 kB / 1.011 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.175, allocations: 186.4 kB / 1.011 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1751, allocations: 154.5 kB / 1.011 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1752, allocations: 394.5 kB / 1.012 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1753, allocations: 80.78 kB / 1.012 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.1759, allocations: 0.6959 MB / 1.013 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.1763, allocations: 0.5311 MB / 1.013 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1763, allocations: 7.938 kB / 1.013 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0004675/0.1767, allocations: 483.9 kB / 1.014 GB, free: 9.672 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1768, allocations: 12 kB / 1.014 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.1768, allocations: 8 kB / 1.014 GB, free: 9.652 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1768, allocations: 19.98 kB / 1.014 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1771, allocations: 159.8 kB / 1.014 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1771, allocations: 28.45 kB / 1.014 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.1774, allocations: 83.52 kB / 1.014 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.1775, allocations: 31.98 kB / 1.014 GB, free: 9.336 MB / 0.9792 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.0001692/0.1776, allocations: 180.2 kB / 1.014 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.1777, allocations: 59.94 kB / 1.014 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.178, allocations: 287 kB / 1.014 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.178, allocations: 4 kB / 1.014 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.178, allocations: 0 / 1.014 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001768/0.1782, allocations: 208.2 kB / 1.015 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009092/0.1791, allocations: 0.9072 MB / 1.016 GB, free: 7.613 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1791, allocations: 48 / 1.016 GB, free: 7.613 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1794, allocations: 115.8 kB / 1.016 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1794, allocations: 4 kB / 1.016 GB, free: 7.496 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.1794, allocations: 12.22 kB / 1.016 GB, free: 7.484 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1794, allocations: 8 kB / 1.016 GB, free: 7.477 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1794, allocations: 0 / 1.016 GB, free: 7.477 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.1799, allocations: 0.5253 MB / 1.016 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.18, allocations: 115.3 kB / 1.016 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.1801, allocations: 12 kB / 1.016 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1803, allocations: 12 kB / 1.016 GB, free: 6.773 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1803, allocations: 39.88 kB / 1.016 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.1803, allocations: 11.98 kB / 1.016 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002043/0.1805, allocations: 280.5 kB / 1.017 GB, free: 6.449 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1805, allocations: 0 / 1.017 GB, free: 6.449 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005469/0.1811, allocations: 323.3 kB / 1.017 GB, free: 6.133 MB / 0.9792 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.0003261/0.1814, allocations: 159.3 kB / 1.017 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.1817, allocations: 311.5 kB / 1.017 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.1817, allocations: 12.5 kB / 1.017 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1819, allocations: 133.6 kB / 1.018 GB, free: 5.531 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.1827, allocations: 404.6 kB / 1.018 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1847, allocations: 1.586 MB / 1.019 GB, free: 3.504 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.1848, allocations: 247.2 kB / 1.02 GB, free: 3.242 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002989/0.1851, allocations: 134.6 kB / 1.02 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.1856, allocations: 321.1 kB / 1.02 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of SimCode: time 7.32e-07/0.1856, allocations: 0 / 1.02 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of Templates: time 0.01786/0.2035, allocations: 15.49 MB / 1.035 GB, free: 3.668 MB / 0.9948 GB " [Timeout remaining time 300] 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: 5.826119290199131]