Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001046/0.001046, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001114/0.001114, allocations: 170.1 kB / 24.86 MB, free: 9.289 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 / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.748/1.748, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.968e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1435/0.1435, allocations: 149.1 MB / 0.934 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.1486, allocations: 4.087 MB / 0.938 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.149, allocations: 51.56 kB / 0.938 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.1498, allocations: 286 kB / 0.9383 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.1515, allocations: 1.282 MB / 0.9395 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.1525, allocations: 0.8025 MB / 0.9403 GB, free: 40 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001987/0.1545, allocations: 2.592 MB / 0.9428 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006901/0.1552, allocations: 0.8189 MB / 0.9436 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.157, allocations: 1.569 MB / 0.9452 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007399/0.1577, allocations: 0.8609 MB / 0.946 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1578, allocations: 104 kB / 0.9461 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005126/0.1583, allocations: 431 kB / 0.9465 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.1586, allocations: 0.5454 MB / 0.9471 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.1593, allocations: 455 kB / 0.9475 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1603, allocations: 1.219 MB / 0.9487 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1604, allocations: 0 / 0.9487 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1604, allocations: 0 / 0.9487 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.1604, allocations: 4 kB / 0.9487 GB, free: 7.488 MB / 0.9011 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.00136/0.1617, allocations: 1.48 MB / 0.9501 GB, free: 5.965 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.1618, allocations: 8.031 kB / 0.9501 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.1625, allocations: 351.1 kB / 0.9505 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.1632, allocations: 0.6995 MB / 0.9512 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.1632, allocations: 74 kB / 0.9512 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.1633, allocations: 95.94 kB / 0.9513 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.164, allocations: 0.907 MB / 0.9522 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.164, allocations: 4 kB / 0.9522 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.1641, allocations: 36 kB / 0.9522 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.1641, allocations: 37.98 kB / 0.9523 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.1645, allocations: 317.4 kB / 0.9526 GB, free: 3.301 MB / 0.9011 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.003217/0.1677, allocations: 4.683 MB / 0.9572 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.1681, allocations: 256.9 kB / 0.9574 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1683, allocations: 121.7 kB / 0.9575 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.1684, allocations: 60.44 kB / 0.9576 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1685, allocations: 41.89 kB / 0.9576 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/0.1685, allocations: 0 / 0.9576 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49): time 0.0007503/0.1692, allocations: 416.4 kB / 0.958 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1693, allocations: 63.89 kB / 0.9581 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.1697, allocations: 0.6435 MB / 0.9587 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1697, allocations: 37.7 kB / 0.9587 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.1701, allocations: 0.5805 MB / 0.9593 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1702, allocations: 190.4 kB / 0.9595 GB, free: 12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.1703, allocations: 156.2 kB / 0.9596 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1706, allocations: 0.5702 MB / 0.9602 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1707, allocations: 69.94 kB / 0.9603 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.1714, allocations: 0.7844 MB / 0.961 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.172, allocations: 0.5562 MB / 0.9616 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1721, allocations: 4 kB / 0.9616 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007813/0.1728, allocations: 0.5359 MB / 0.9621 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1729, allocations: 8 kB / 0.9621 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.1729, allocations: 8 kB / 0.9621 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1729, allocations: 12 kB / 0.9621 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.1734, allocations: 155.7 kB / 0.9623 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.1734, allocations: 15.94 kB / 0.9623 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.1739, allocations: 79.7 kB / 0.9624 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.174, allocations: 35.98 kB / 0.9624 GB, free: 8.598 MB / 0.9167 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.0002618/0.1743, allocations: 208.3 kB / 0.9626 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.1744, allocations: 95.48 kB / 0.9627 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.175, allocations: 341.7 kB / 0.963 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.1751, allocations: 11.94 kB / 0.963 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.1751, allocations: 0 / 0.963 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002853/0.1753, allocations: 255.2 kB / 0.9633 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.1769, allocations: 1.022 MB / 0.9643 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1769, allocations: 4 kB / 0.9643 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.1773, allocations: 107.8 kB / 0.9644 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1773, allocations: 7.984 kB / 0.9644 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.1773, allocations: 12 kB / 0.9644 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.1773, allocations: 8.219 kB / 0.9644 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1773, allocations: 0 / 0.9644 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.1781, allocations: 0.6232 MB / 0.965 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.1783, allocations: 135.3 kB / 0.9651 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.1784, allocations: 8 kB / 0.9651 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.1787, allocations: 18.25 kB / 0.9652 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.1788, allocations: 43.59 kB / 0.9652 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.1788, allocations: 19.98 kB / 0.9652 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003379/0.1791, allocations: 378.8 kB / 0.9656 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1791, allocations: 4 kB / 0.9656 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008534/0.18, allocations: 315.3 kB / 0.9659 GB, free: 4.879 MB / 0.9167 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.0003892/0.1804, allocations: 168.8 kB / 0.966 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.1808, allocations: 317.6 kB / 0.9664 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1808, allocations: 4 kB / 0.9664 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.181, allocations: 148.5 kB / 0.9665 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.1819, allocations: 386.2 kB / 0.9669 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.184, allocations: 1.651 MB / 0.9685 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.1841, allocations: 251.1 kB / 0.9687 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000295/0.1844, allocations: 126.7 kB / 0.9688 GB, free: 1.766 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.1849, allocations: 381.9 kB / 0.9692 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.1849, allocations: 0 / 0.9692 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of Templates: time 0.01735/0.2023, allocations: 15.61 MB / 0.9844 GB, free: 2.199 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.729299061000347]