Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001413/0.001413, 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.001097/0.001097, 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 0.977/0.977, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.958/1.958, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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_12_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_12_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.096e-05, allocations: 8.781 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1503/0.1503, allocations: 146.8 MB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005542/0.1558, allocations: 1.745 MB / 0.9566 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.1561, allocations: 15.88 kB / 0.9566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.1566, allocations: 131 kB / 0.9568 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000768/0.1574, allocations: 381.8 kB / 0.9571 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003882/0.1613, allocations: 434.7 kB / 0.9575 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008095/0.1621, allocations: 0.7087 MB / 0.9582 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.1624, allocations: 215.6 kB / 0.9584 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.163, allocations: 426.8 kB / 0.9588 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1632, allocations: 199.3 kB / 0.959 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1633, allocations: 16 kB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.165, allocations: 435 kB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.1652, allocations: 107.6 kB / 0.9596 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.1654, allocations: 103.7 kB / 0.9597 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1665, allocations: 462.4 kB / 0.9601 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1665, allocations: 0 / 0.9601 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1665, allocations: 0 / 0.9601 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.1665, allocations: 0 / 0.9601 GB, free: 9.098 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.001054/0.1675, allocations: 0.663 MB / 0.9608 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1676, allocations: 12.03 kB / 0.9608 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.1679, allocations: 88.55 kB / 0.9609 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1682, allocations: 282 kB / 0.9611 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1683, allocations: 12.88 kB / 0.9611 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1683, allocations: 27.94 kB / 0.9612 GB, free: 7.957 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.1686, allocations: 273.3 kB / 0.9614 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1686, allocations: 4 kB / 0.9614 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1686, allocations: 8 kB / 0.9614 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1686, allocations: 8 kB / 0.9614 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1687, allocations: 83.52 kB / 0.9615 GB, free: 7.535 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.001118/0.1698, allocations: 1.945 MB / 0.9634 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.17, allocations: 59.02 kB / 0.9635 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.1701, allocations: 35.7 kB / 0.9635 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.1702, allocations: 19.98 kB / 0.9635 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1702, allocations: 37.39 kB / 0.9636 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 2.485e-06/0.1702, allocations: 7.938 kB / 0.9636 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002951/0.1705, allocations: 129.5 kB / 0.9637 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.1705, allocations: 55.39 kB / 0.9637 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1707, allocations: 322.2 kB / 0.9641 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1707, allocations: 25.7 kB / 0.9641 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1708, allocations: 254.8 kB / 0.9643 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1709, allocations: 47.59 kB / 0.9644 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.1709, allocations: 51.36 kB / 0.9644 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.171, allocations: 0.504 MB / 0.9649 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.1711, allocations: 35.67 kB / 0.9649 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1712, allocations: 314.8 kB / 0.9652 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1714, allocations: 210.7 kB / 0.9654 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1714, allocations: 4 kB / 0.9654 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002134/0.1716, allocations: 185.4 kB / 0.9656 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1716, allocations: 14.7 kB / 0.9656 GB, free: 2.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1716, allocations: 4 kB / 0.9656 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1716, allocations: 8 kB / 0.9656 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1718, allocations: 39.92 kB / 0.9657 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1718, allocations: 7.938 kB / 0.9657 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1719, allocations: 27.88 kB / 0.9657 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1719, allocations: 12 kB / 0.9657 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.013e-05/0.172, allocations: 154.8 kB / 0.9659 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001465/0.1721, allocations: 317.7 kB / 0.9662 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001402/0.1723, allocations: 206.9 kB / 0.9664 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1723, allocations: 4 kB / 0.9664 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001885/0.1725, allocations: 193.1 kB / 0.9666 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.1725, allocations: 8 kB / 0.9666 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1725, allocations: 4 kB / 0.9666 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.1725, allocations: 4.406 kB / 0.9666 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.1726, allocations: 47.92 kB / 0.9666 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1726, allocations: 11.92 kB / 0.9666 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.1727, allocations: 19.89 kB / 0.9667 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1727, allocations: 12 kB / 0.9667 GB, free: 1.703 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 0.0001063/0.1728, allocations: 288 kB / 0.9669 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1728, allocations: 23.86 kB / 0.967 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.173, allocations: 107.5 kB / 0.9671 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.173, allocations: 4 kB / 0.9671 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.173, allocations: 0 / 0.9671 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.173, allocations: 4 kB / 0.9671 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.1735, allocations: 0.5339 MB / 0.9676 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1735, allocations: 4 kB / 0.9676 GB, free: 0.6602 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.1735, allocations: 19.98 kB / 0.9676 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1735, allocations: 4 kB / 0.9676 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1735, allocations: 4.219 kB / 0.9676 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1735, allocations: 8 kB / 0.9676 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1735, allocations: 11.88 kB / 0.9677 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1737, allocations: 301.5 kB / 0.9679 GB, free: 276 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.1738, allocations: 35.8 kB / 0.968 GB, free: 240 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1738, allocations: 7.938 kB / 0.968 GB, free: 232 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1739, allocations: 8 kB / 0.968 GB, free: 224 kB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.1739, allocations: 11.92 kB / 0.968 GB, free: 212 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1739, allocations: 12 kB / 0.968 GB, free: 200 kB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001432/0.1741, allocations: 211 kB / 0.9682 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1741, allocations: 4 kB / 0.9682 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004119/0.1745, allocations: 147.6 kB / 0.9684 GB, free: 15.84 MB / 0.9323 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.000226/0.1747, allocations: 139.1 kB / 0.9685 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.175, allocations: 168.5 kB / 0.9686 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.175, allocations: 0 / 0.9686 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.175, allocations: 40.2 kB / 0.9687 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1754, allocations: 105.5 kB / 0.9688 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.1763, allocations: 0.5082 MB / 0.9693 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.1763, allocations: 100.6 kB / 0.9694 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.1765, allocations: 70.2 kB / 0.9694 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.1765, allocations: 24.5 kB / 0.9695 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/0.1765, allocations: 0 / 0.9695 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of Templates: time 0.006613/0.1831, allocations: 4.232 MB / 0.9736 GB, free: 10.48 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.558901709970087]