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.0009883/0.0009883, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001495/0.001495, allocations: 185 kB / 24.09 MB, free: 412 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.9434/0.9434, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.857/1.857, allocations: 377.9 MB / 0.6239 GB, free: 8.43 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.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 2.124e-06/2.124e-06, allocations: 0 / 0.812 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.342e-05, allocations: 2.312 kB / 0.812 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1277/0.1277, allocations: 144.1 MB / 0.9527 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1302, allocations: 1.737 MB / 0.9544 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.1305, allocations: 19.81 kB / 0.9544 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.131, allocations: 123.1 kB / 0.9545 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007434/0.1317, allocations: 381.8 kB / 0.9549 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/0.1326, allocations: 442.6 kB / 0.9553 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.1334, allocations: 0.7126 MB / 0.956 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.1337, allocations: 219.7 kB / 0.9562 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.1343, allocations: 418.8 kB / 0.9566 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1345, allocations: 199.4 kB / 0.9568 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.1345, allocations: 20 kB / 0.9568 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.1351, allocations: 431 kB / 0.9572 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1352, allocations: 103.7 kB / 0.9573 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.676e-05/0.1353, allocations: 107.7 kB / 0.9575 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.1358, allocations: 454.5 kB / 0.9579 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1358, allocations: 0 / 0.9579 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1358, allocations: 0 / 0.9579 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1358, allocations: 0 / 0.9579 GB, free: 10.46 MB / 0.8698 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.0006438/0.1365, allocations: 0.682 MB / 0.9586 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1365, allocations: 8.031 kB / 0.9586 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.1367, allocations: 88.55 kB / 0.9586 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.137, allocations: 266.1 kB / 0.9589 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.137, allocations: 20.88 kB / 0.9589 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1371, allocations: 27.94 kB / 0.9589 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1373, allocations: 269.2 kB / 0.9592 GB, free: 9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1373, allocations: 3.938 kB / 0.9592 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1374, allocations: 4 kB / 0.9592 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1374, allocations: 8 kB / 0.9592 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.1374, allocations: 63.83 kB / 0.9593 GB, free: 8.922 MB / 0.8698 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.001052/0.1385, allocations: 1.895 MB / 0.9611 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1386, allocations: 54.91 kB / 0.9612 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.1386, allocations: 31.75 kB / 0.9612 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/0.1387, allocations: 23.92 kB / 0.9612 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1387, allocations: 33.39 kB / 0.9613 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.043e-06/0.1387, allocations: 4 kB / 0.9613 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002592/0.139, allocations: 129.4 kB / 0.9614 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.139, allocations: 55.34 kB / 0.9614 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1392, allocations: 322.1 kB / 0.9618 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1392, allocations: 29.7 kB / 0.9618 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1393, allocations: 250.8 kB / 0.962 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.1394, allocations: 47.61 kB / 0.9621 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.1394, allocations: 59.3 kB / 0.9621 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1395, allocations: 0.5079 MB / 0.9626 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.1396, allocations: 31.61 kB / 0.9626 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1397, allocations: 316.1 kB / 0.9629 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1399, allocations: 198.7 kB / 0.9631 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1399, allocations: 4 kB / 0.9631 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001793/0.14, allocations: 181.4 kB / 0.9633 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.14, allocations: 8.062 kB / 0.9633 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1401, allocations: 4.141 kB / 0.9633 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1401, allocations: 8 kB / 0.9633 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.1402, allocations: 47.91 kB / 0.9634 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1402, allocations: 7.984 kB / 0.9634 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.1403, allocations: 23.88 kB / 0.9634 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1403, allocations: 12 kB / 0.9634 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.453e-05/0.1404, allocations: 150.9 kB / 0.9636 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001313/0.1405, allocations: 316.2 kB / 0.9639 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001204/0.1406, allocations: 194.8 kB / 0.9641 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.1406, allocations: 4 kB / 0.9641 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001575/0.1408, allocations: 181.1 kB / 0.9642 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.1408, allocations: 8 kB / 0.9642 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1408, allocations: 4 kB / 0.9642 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.1408, allocations: 4.406 kB / 0.9642 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.1409, allocations: 47.92 kB / 0.9643 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1409, allocations: 4 kB / 0.9643 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.1409, allocations: 23.88 kB / 0.9643 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.141, allocations: 8 kB / 0.9643 GB, free: 3.203 MB / 0.8698 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.028e-05/0.141, allocations: 284 kB / 0.9646 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1411, allocations: 35.75 kB / 0.9646 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1412, allocations: 103.4 kB / 0.9647 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1412, allocations: 4 kB / 0.9647 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1412, allocations: 0 / 0.9647 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1412, allocations: 4 kB / 0.9647 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.1416, allocations: 487.3 kB / 0.9652 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1416, allocations: 4 kB / 0.9652 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.1417, allocations: 27.92 kB / 0.9652 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1417, allocations: 4 kB / 0.9652 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1417, allocations: 4.219 kB / 0.9652 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1417, allocations: 4 kB / 0.9652 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1417, allocations: 4 kB / 0.9652 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.1418, allocations: 314.1 kB / 0.9655 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1419, allocations: 35.8 kB / 0.9656 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1419, allocations: 8 kB / 0.9656 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.142, allocations: 7.984 kB / 0.9656 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.142, allocations: 11.92 kB / 0.9656 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.142, allocations: 8 kB / 0.9656 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.939e-05/0.1421, allocations: 203 kB / 0.9658 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1421, allocations: 4 kB / 0.9658 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003515/0.1425, allocations: 147.7 kB / 0.966 GB, free: 1.41 MB / 0.8698 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.0001821/0.1426, allocations: 139.1 kB / 0.9661 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1428, allocations: 151.8 kB / 0.9662 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1428, allocations: 0 / 0.9662 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.1429, allocations: 35.72 kB / 0.9663 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1432, allocations: 106.4 kB / 0.9664 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.1439, allocations: 0.5082 MB / 0.9669 GB, free: 404 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.144, allocations: 96.61 kB / 0.967 GB, free: 288 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.1441, allocations: 38.28 kB / 0.967 GB, free: 252 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1442, allocations: 142.1 kB / 0.9671 GB, free: 108 kB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.1442, allocations: 0 / 0.9671 GB, free: 108 kB / 0.8698 GB Notification: Performance of Templates: time 0.006068/0.1503, allocations: 4.316 MB / 0.9713 GB, free: 11.89 MB / 0.8855 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.125266835093498]