Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001/0.001, 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.0009911/0.0009911, 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.9598/0.9598, 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.824/1.824, allocations: 359 MB / 0.6055 GB, free: 10.97 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.634e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1531/0.1531, allocations: 163.6 MB / 0.9469 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1549, allocations: 1.583 MB / 0.9485 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1551, allocations: 19.81 kB / 0.9485 GB, free: 6.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1554, allocations: 154.8 kB / 0.9486 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.1565, allocations: 0.7151 MB / 0.9493 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009007/0.1574, allocations: 0.654 MB / 0.95 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.1579, allocations: 0.7088 MB / 0.9507 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1581, allocations: 191.1 kB / 0.9509 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.1586, allocations: 438.6 kB / 0.9513 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1587, allocations: 199.4 kB / 0.9515 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1588, allocations: 20 kB / 0.9515 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.1595, allocations: 0.7242 MB / 0.9522 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.1595, allocations: 123.6 kB / 0.9523 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 9.69e-05/0.1596, allocations: 127.4 kB / 0.9524 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.1603, allocations: 0.6387 MB / 0.9531 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1603, allocations: 0 / 0.9531 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1603, allocations: 0 / 0.9531 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1603, allocations: 0 / 0.9531 GB, free: 2.27 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006499/0.1609, allocations: 0.6857 MB / 0.9537 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.161, allocations: 8.031 kB / 0.9537 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/0.1617, allocations: 203.2 kB / 0.9539 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.162, allocations: 279.3 kB / 0.9542 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.162, allocations: 16.5 kB / 0.9542 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1621, allocations: 20 kB / 0.9542 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1623, allocations: 235.1 kB / 0.9544 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1623, allocations: 7.984 kB / 0.9545 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1624, allocations: 8 kB / 0.9545 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1624, allocations: 7.938 kB / 0.9545 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1625, allocations: 91.83 kB / 0.9546 GB, free: 0.6328 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.0008862/0.1634, allocations: 1.125 MB / 0.9557 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1635, allocations: 90.97 kB / 0.9557 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.1636, allocations: 39.67 kB / 0.9558 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.1638, allocations: 59.94 kB / 0.9558 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1638, allocations: 37.39 kB / 0.9559 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.764e-06/0.1638, allocations: 0 / 0.9559 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0003434/0.1642, allocations: 168.9 kB / 0.956 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1642, allocations: 59.34 kB / 0.9561 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1644, allocations: 288.3 kB / 0.9564 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1644, allocations: 33.7 kB / 0.9564 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1645, allocations: 238.9 kB / 0.9566 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1645, allocations: 51.59 kB / 0.9567 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.1646, allocations: 51.31 kB / 0.9567 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1647, allocations: 0.5157 MB / 0.9572 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.1648, allocations: 19.98 kB / 0.9572 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1649, allocations: 171.1 kB / 0.9574 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.165, allocations: 125.1 kB / 0.9575 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.165, allocations: 0 / 0.9575 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002035/0.1652, allocations: 169.3 kB / 0.9577 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1652, allocations: 8 kB / 0.9577 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1652, allocations: 0 / 0.9577 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1652, allocations: 4 kB / 0.9577 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1654, allocations: 44 kB / 0.9577 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1654, allocations: 4 kB / 0.9578 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.1655, allocations: 19.89 kB / 0.9578 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1655, allocations: 4 kB / 0.9578 GB, free: 13.12 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.08e-05/0.1656, allocations: 176.5 kB / 0.9579 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.1656, allocations: 31.78 kB / 0.958 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.1658, allocations: 131.4 kB / 0.9581 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1658, allocations: 0 / 0.9581 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1658, allocations: 0 / 0.9581 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1658, allocations: 0 / 0.9581 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.1663, allocations: 0.5807 MB / 0.9587 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1663, allocations: 0 / 0.9587 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.1664, allocations: 31.98 kB / 0.9587 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1664, allocations: 4 kB / 0.9587 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1664, allocations: 4 kB / 0.9587 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1664, allocations: 0 / 0.9587 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1664, allocations: 12.16 kB / 0.9587 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1667, allocations: 357.4 kB / 0.9591 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1667, allocations: 43.72 kB / 0.9591 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1667, allocations: 4 kB / 0.9591 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.1668, allocations: 11.98 kB / 0.9591 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.1669, allocations: 11.92 kB / 0.9591 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1669, allocations: 12 kB / 0.9591 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001006/0.167, allocations: 201.1 kB / 0.9593 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.167, allocations: 0 / 0.9593 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002446/0.1672, allocations: 87.83 kB / 0.9594 GB, free: 11.31 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0002199/0.1674, allocations: 155 kB / 0.9596 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1676, allocations: 95.52 kB / 0.9596 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1676, allocations: 4 kB / 0.9597 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.1677, allocations: 48.16 kB / 0.9597 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1681, allocations: 139.9 kB / 0.9598 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.1691, allocations: 0.5747 MB / 0.9604 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.908e-05/0.1692, allocations: 96.3 kB / 0.9605 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.1693, allocations: 58.22 kB / 0.9605 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.1693, allocations: 24.5 kB / 0.9606 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/0.1693, allocations: 0 / 0.9606 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of Templates: time 0.006717/0.176, allocations: 4.828 MB / 0.9653 GB, free: 5.352 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.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.347486548125744]