Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001145/0.001145, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001395/0.001395, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.136e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1402/0.1402, allocations: 152 MB / 0.96 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006369/0.1465, allocations: 4.118 MB / 0.964 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006318/0.1472, allocations: 55.56 kB / 0.9641 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007865/0.148, allocations: 286 kB / 0.9643 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.15, allocations: 1.27 MB / 0.9656 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1512, allocations: 0.7987 MB / 0.9664 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002055/0.1532, allocations: 2.584 MB / 0.9689 GB, free: 100 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.154, allocations: 0.8306 MB / 0.9697 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1557, allocations: 1.382 MB / 0.971 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.1565, allocations: 0.8736 MB / 0.9719 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.1566, allocations: 108 kB / 0.972 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.1573, allocations: 0.5299 MB / 0.9725 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.1577, allocations: 0.5454 MB / 0.9731 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.158, allocations: 459 kB / 0.9735 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1592, allocations: 1.246 MB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1592, allocations: 4 kB / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1592, allocations: 0 / 0.9747 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.1592, allocations: 0 / 0.9747 GB, free: 10.16 MB / 0.9323 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.001498/0.1607, allocations: 1.492 MB / 0.9762 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1608, allocations: 12.03 kB / 0.9762 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.1616, allocations: 363.1 kB / 0.9765 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/0.1625, allocations: 0.7445 MB / 0.9773 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.1625, allocations: 77.94 kB / 0.9773 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.1627, allocations: 95.95 kB / 0.9774 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009353/0.1636, allocations: 0.958 MB / 0.9784 GB, free: 6.227 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1636, allocations: 0 / 0.9784 GB, free: 6.227 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.1637, allocations: 39.98 kB / 0.9784 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.1637, allocations: 34 kB / 0.9784 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.1643, allocations: 391.4 kB / 0.9788 GB, free: 5.77 MB / 0.9323 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.003433/0.1677, allocations: 4.695 MB / 0.9834 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1682, allocations: 277.6 kB / 0.9836 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1683, allocations: 148.3 kB / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.1685, allocations: 56.44 kB / 0.9838 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1686, allocations: 41.89 kB / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=49): time 1.804e-06/0.1686, allocations: 0 / 0.9839 GB, free: 400 kB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.0007373/0.1693, allocations: 468.4 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.1693, allocations: 59.91 kB / 0.9844 GB, free: 15.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.1698, allocations: 0.6555 MB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1699, allocations: 37.7 kB / 0.9851 GB, free: 15.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.1701, allocations: 0.5768 MB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1702, allocations: 182.4 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1704, allocations: 156.2 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1705, allocations: 0.5703 MB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1707, allocations: 85.94 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.1711, allocations: 0.8 MB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1716, allocations: 0.5993 MB / 0.988 GB, free: 11.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1716, allocations: 4 kB / 0.988 GB, free: 11.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006473/0.1723, allocations: 0.5754 MB / 0.9885 GB, free: 11.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1723, allocations: 8 kB / 0.9885 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1723, allocations: 8 kB / 0.9885 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.1723, allocations: 12 kB / 0.9885 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.1727, allocations: 159.7 kB / 0.9887 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.1727, allocations: 15.94 kB / 0.9887 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.173, allocations: 75.5 kB / 0.9888 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.173, allocations: 32 kB / 0.9888 GB, free: 10.86 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1732, allocations: 216.3 kB / 0.989 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.1733, allocations: 95.48 kB / 0.9891 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.174, allocations: 377.7 kB / 0.9895 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1741, allocations: 8 kB / 0.9895 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1741, allocations: 0 / 0.9895 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003164/0.1744, allocations: 287.2 kB / 0.9898 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1756, allocations: 1.209 MB / 0.9909 GB, free: 8.582 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1756, allocations: 4 kB / 0.9909 GB, free: 8.578 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.1759, allocations: 111.8 kB / 0.991 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.1759, allocations: 4 kB / 0.991 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.1759, allocations: 19.98 kB / 0.9911 GB, free: 8.445 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1759, allocations: 4 kB / 0.9911 GB, free: 8.441 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.176, allocations: 3.938 kB / 0.9911 GB, free: 8.438 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.1766, allocations: 0.6627 MB / 0.9917 GB, free: 7.727 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1768, allocations: 143.3 kB / 0.9919 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.1769, allocations: 19.92 kB / 0.9919 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1771, allocations: 16 kB / 0.9919 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.1771, allocations: 39.81 kB / 0.9919 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1771, allocations: 20 kB / 0.992 GB, free: 7.492 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003036/0.1774, allocations: 407 kB / 0.9923 GB, free: 7.102 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1774, allocations: 0 / 0.9923 GB, free: 7.102 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005371/0.178, allocations: 315.3 kB / 0.9926 GB, free: 6.793 MB / 0.948 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.0003877/0.1784, allocations: 169.5 kB / 0.9928 GB, free: 6.629 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004837/0.1789, allocations: 364.6 kB / 0.9931 GB, free: 6.273 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1789, allocations: 0 / 0.9931 GB, free: 6.273 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.179, allocations: 168.3 kB / 0.9933 GB, free: 6.105 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/0.18, allocations: 390.7 kB / 0.9937 GB, free: 5.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.1821, allocations: 1.651 MB / 0.9953 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1823, allocations: 251 kB / 0.9955 GB, free: 3.742 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004531/0.1827, allocations: 222.5 kB / 0.9957 GB, free: 3.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1829, allocations: 72.48 kB / 0.9958 GB, free: 3.449 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/0.1829, allocations: 0 / 0.9958 GB, free: 3.449 MB / 0.948 GB Notification: Performance of Templates: time 0.01844/0.2013, allocations: 14.19 MB / 1.01 GB, free: 5.641 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.7849355773068964]