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.001056/0.001056, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001091/0.001091, allocations: 181 kB / 24.09 MB, free: 420 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.9999/0.9999, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.869/1.869, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] 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.734e-06/1.734e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.87e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1405/0.1406, allocations: 149.2 MB / 0.9577 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006212/0.1468, allocations: 4.089 MB / 0.9617 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009395/0.1477, allocations: 51.56 kB / 0.9617 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008675/0.1486, allocations: 289.9 kB / 0.962 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.1508, allocations: 1.274 MB / 0.9633 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.1522, allocations: 0.7987 MB / 0.964 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.1545, allocations: 2.584 MB / 0.9666 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.1556, allocations: 0.8265 MB / 0.9674 GB, free: 1.781 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.1587, allocations: 1.561 MB / 0.9689 GB, free: 300 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.1598, allocations: 0.8298 MB / 0.9697 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.16, allocations: 108 kB / 0.9698 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.1608, allocations: 439.1 kB / 0.9702 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.1612, allocations: 0.5376 MB / 0.9708 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.1617, allocations: 462.9 kB / 0.9712 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1631, allocations: 1.207 MB / 0.9724 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1631, allocations: 0 / 0.9724 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1631, allocations: 0 / 0.9724 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.1631, allocations: 4 kB / 0.9724 GB, free: 12.72 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.001594/0.1647, allocations: 1.48 MB / 0.9738 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1647, allocations: 12.03 kB / 0.9738 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/0.1655, allocations: 351.2 kB / 0.9742 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.1663, allocations: 0.7034 MB / 0.9749 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.1664, allocations: 66 kB / 0.9749 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.1665, allocations: 104 kB / 0.975 GB, free: 9.938 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.1673, allocations: 0.9187 MB / 0.9759 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.1673, allocations: 3.938 kB / 0.9759 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.1674, allocations: 40 kB / 0.976 GB, free: 8.852 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.1674, allocations: 30 kB / 0.976 GB, free: 8.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.1678, allocations: 313.4 kB / 0.9763 GB, free: 8.516 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.003164/0.171, allocations: 4.679 MB / 0.9809 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.1713, allocations: 261.7 kB / 0.9811 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1714, allocations: 117.7 kB / 0.9812 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/0.1718, allocations: 76.36 kB / 0.9813 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1718, allocations: 37.89 kB / 0.9813 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/0.1718, allocations: 0 / 0.9813 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49): time 0.00061/0.1724, allocations: 408.5 kB / 0.9817 GB, free: 2.773 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1724, allocations: 63.91 kB / 0.9818 GB, free: 2.699 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.1728, allocations: 0.6551 MB / 0.9824 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1729, allocations: 41.64 kB / 0.9825 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.1731, allocations: 0.5805 MB / 0.983 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1732, allocations: 194.4 kB / 0.9832 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1734, allocations: 152.2 kB / 0.9834 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1736, allocations: 0.5741 MB / 0.9839 GB, free: 464 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.945e-05/0.1737, allocations: 73.92 kB / 0.984 GB, free: 392 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1741, allocations: 0.7688 MB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.1745, allocations: 0.564 MB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1745, allocations: 4 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005782/0.1751, allocations: 0.5246 MB / 0.9858 GB, free: 14.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1751, allocations: 12 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1751, allocations: 11.94 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1752, allocations: 12 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1754, allocations: 143.8 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1754, allocations: 19.92 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.1758, allocations: 80.19 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1758, allocations: 31.98 kB / 0.9861 GB, free: 13.81 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.0001683/0.176, allocations: 212.4 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.1761, allocations: 95.48 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.1764, allocations: 345.6 kB / 0.9867 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1764, allocations: 7.984 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1765, allocations: 4 kB / 0.9867 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002305/0.1767, allocations: 255.2 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.1779, allocations: 1.022 MB / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1779, allocations: 4 kB / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.1781, allocations: 103.9 kB / 0.9881 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1781, allocations: 7.938 kB / 0.9881 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.1782, allocations: 19.98 kB / 0.9881 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1782, allocations: 4 kB / 0.9881 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1782, allocations: 3.938 kB / 0.9881 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.1787, allocations: 0.6234 MB / 0.9887 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.1789, allocations: 135.3 kB / 0.9889 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.1789, allocations: 12 kB / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1791, allocations: 12 kB / 0.9889 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1791, allocations: 39.88 kB / 0.9889 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1792, allocations: 8 kB / 0.9889 GB, free: 10.78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000229/0.1794, allocations: 390.8 kB / 0.9893 GB, free: 10.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 0 / 0.9893 GB, free: 10.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005897/0.18, allocations: 315.3 kB / 0.9896 GB, free: 10.09 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.0003317/0.1803, allocations: 172.4 kB / 0.9898 GB, free: 9.922 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.1807, allocations: 332.1 kB / 0.9901 GB, free: 9.594 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1807, allocations: 4 kB / 0.9901 GB, free: 9.59 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1808, allocations: 142.4 kB / 0.9902 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.1817, allocations: 381.4 kB / 0.9906 GB, free: 9.082 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1836, allocations: 1.648 MB / 0.9922 GB, free: 7.367 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.1838, allocations: 254.9 kB / 0.9924 GB, free: 7.098 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003481/0.1842, allocations: 126.7 kB / 0.9926 GB, free: 6.969 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.1847, allocations: 377.9 kB / 0.9929 GB, free: 6.598 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/0.1847, allocations: 0 / 0.9929 GB, free: 6.598 MB / 0.948 GB Notification: Performance of Templates: time 0.01943/0.2041, allocations: 15.41 MB / 1.008 GB, free: 7.586 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.642213166225702]