Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.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.00102/0.00102, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001018/0.001018, allocations: 169 kB / 24.28 MB, free: 280 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.9412/0.9412, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.832/1.832, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.548e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1499/0.1499, allocations: 165.8 MB / 0.949 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006224/0.1561, allocations: 7.471 MB / 0.9563 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.1564, allocations: 19.81 kB / 0.9564 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.1571, allocations: 218.5 kB / 0.9566 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.1582, allocations: 0.6023 MB / 0.9572 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.159, allocations: 466.4 kB / 0.9576 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.1596, allocations: 0.7204 MB / 0.9583 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.16, allocations: 227.6 kB / 0.9585 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.1605, allocations: 478.4 kB / 0.959 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1607, allocations: 199.4 kB / 0.9592 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1608, allocations: 20 kB / 0.9592 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.1613, allocations: 0.5882 MB / 0.9598 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1614, allocations: 111.6 kB / 0.9599 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.1615, allocations: 103.8 kB / 0.96 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.1621, allocations: 0.51 MB / 0.9605 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1621, allocations: 4 kB / 0.9605 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1621, allocations: 0 / 0.9605 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1621, allocations: 0 / 0.9605 GB, free: 10.72 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006514/0.1628, allocations: 0.6818 MB / 0.9611 GB, free: 10 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1628, allocations: 8.031 kB / 0.9611 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1631, allocations: 95.56 kB / 0.9612 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1634, allocations: 278.8 kB / 0.9615 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1634, allocations: 16.5 kB / 0.9615 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1634, allocations: 20 kB / 0.9615 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1637, allocations: 277.3 kB / 0.9618 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1637, allocations: 4 kB / 0.9618 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1637, allocations: 8 kB / 0.9618 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1638, allocations: 8 kB / 0.9618 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1639, allocations: 87.69 kB / 0.9619 GB, free: 9.133 MB / 0.9167 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.001075/0.165, allocations: 1.934 MB / 0.9638 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1651, allocations: 59.06 kB / 0.9638 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1651, allocations: 43.66 kB / 0.9639 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.1653, allocations: 31.97 kB / 0.9639 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1653, allocations: 37.39 kB / 0.964 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.1653, allocations: 3.938 kB / 0.964 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002917/0.1656, allocations: 137.3 kB / 0.9641 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1656, allocations: 59.41 kB / 0.9641 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1658, allocations: 318.2 kB / 0.9644 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1658, allocations: 25.7 kB / 0.9645 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1659, allocations: 250.9 kB / 0.9647 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.166, allocations: 51.62 kB / 0.9648 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.166, allocations: 51.36 kB / 0.9648 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1661, allocations: 0.5117 MB / 0.9653 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.1662, allocations: 23.67 kB / 0.9653 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.1664, allocations: 397.5 kB / 0.9657 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1665, allocations: 202.8 kB / 0.9659 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1665, allocations: 12 kB / 0.9659 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00021/0.1667, allocations: 185.1 kB / 0.9661 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1667, allocations: 8 kB / 0.9661 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1667, allocations: 4 kB / 0.9661 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1668, allocations: 8.344 kB / 0.9661 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1669, allocations: 43.92 kB / 0.9662 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1669, allocations: 15.92 kB / 0.9662 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.167, allocations: 23.83 kB / 0.9662 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.167, allocations: 16 kB / 0.9662 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.766e-05/0.1671, allocations: 150.7 kB / 0.9664 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001729/0.1672, allocations: 388.3 kB / 0.9667 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001421/0.1674, allocations: 210.8 kB / 0.9669 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.1674, allocations: 0 / 0.9669 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002/0.1676, allocations: 189.2 kB / 0.9671 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.1676, allocations: 4 kB / 0.9671 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1676, allocations: 4 kB / 0.9671 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.239e-06/0.1676, allocations: 15.92 kB / 0.9671 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.1677, allocations: 35.98 kB / 0.9672 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1677, allocations: 11.88 kB / 0.9672 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.1678, allocations: 24.34 kB / 0.9672 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1678, allocations: 16 kB / 0.9672 GB, free: 3.098 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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 9.077e-05/0.1679, allocations: 284 kB / 0.9675 GB, free: 2.812 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1679, allocations: 31.86 kB / 0.9675 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.1681, allocations: 99.5 kB / 0.9676 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1681, allocations: 3.938 kB / 0.9676 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1681, allocations: 0 / 0.9676 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1681, allocations: 7.984 kB / 0.9676 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.1685, allocations: 0.53 MB / 0.9681 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1685, allocations: 0 / 0.9681 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1686, allocations: 20 kB / 0.9682 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1686, allocations: 0 / 0.9682 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1686, allocations: 7.984 kB / 0.9682 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1686, allocations: 7.938 kB / 0.9682 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1686, allocations: 0 / 0.9682 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.1687, allocations: 313.6 kB / 0.9685 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1688, allocations: 47.72 kB / 0.9685 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1688, allocations: 0 / 0.9685 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1689, allocations: 11.98 kB / 0.9685 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1689, allocations: 15.98 kB / 0.9685 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1689, allocations: 7.938 kB / 0.9685 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001104/0.169, allocations: 215 kB / 0.9688 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.169, allocations: 0 / 0.9688 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003561/0.1694, allocations: 143.7 kB / 0.9689 GB, free: 1.242 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0002205/0.1696, allocations: 159.2 kB / 0.969 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.1699, allocations: 159.8 kB / 0.9692 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1699, allocations: 4 kB / 0.9692 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.17, allocations: 41.11 kB / 0.9692 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.1704, allocations: 92.97 kB / 0.9693 GB, free: 0.7734 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.1712, allocations: 0.5084 MB / 0.9698 GB, free: 212 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.1713, allocations: 100.5 kB / 0.9699 GB, free: 88 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.1714, allocations: 74.2 kB / 0.97 GB, free: 16 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1715, allocations: 20.55 kB / 0.97 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of SimCode: time 9.61e-07/0.1715, allocations: 4 kB / 0.97 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of Templates: time 0.006187/0.1776, allocations: 4.246 MB / 0.9742 GB, free: 11.87 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.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.388172449078411]