Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001041/0.001041, allocations: 169 kB / 23.02 MB, free: 1.551 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.28/2.28, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.104e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1425/0.1426, allocations: 146.5 MB / 1.021 GB, free: 3.27 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1448, allocations: 1.258 MB / 1.023 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.1451, allocations: 15.88 kB / 1.023 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1455, allocations: 83.28 kB / 1.023 GB, free: 1.91 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008869/0.1464, allocations: 389.8 kB / 1.023 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.1474, allocations: 454.8 kB / 1.023 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.1481, allocations: 0.6776 MB / 1.024 GB, free: 408 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.1484, allocations: 189.4 kB / 1.024 GB, free: 220 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.1491, allocations: 359 kB / 1.025 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1494, allocations: 195.4 kB / 1.025 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.1494, allocations: 27.98 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.1499, allocations: 303.1 kB / 1.025 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.15, allocations: 107.7 kB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1501, allocations: 123.7 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.1507, allocations: 438.6 kB / 1.026 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1507, allocations: 0 / 1.026 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1507, allocations: 0 / 1.026 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1507, allocations: 0 / 1.026 GB, free: 14.69 MB / 0.9948 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.0008264/0.1515, allocations: 0.6433 MB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1515, allocations: 8.031 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.1523, allocations: 212.1 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1527, allocations: 268 kB / 1.027 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1527, allocations: 16.88 kB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.1528, allocations: 20.38 kB / 1.027 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.1531, allocations: 239.1 kB / 1.027 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1531, allocations: 8 kB / 1.027 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1531, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1532, allocations: 8 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1533, allocations: 87.88 kB / 1.027 GB, free: 13.11 MB / 0.9948 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.001083/0.1544, allocations: 1.128 MB / 1.028 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1546, allocations: 91.02 kB / 1.028 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.1546, allocations: 43.89 kB / 1.028 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.1548, allocations: 47.94 kB / 1.028 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1549, allocations: 45.27 kB / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1549, allocations: 0 / 1.029 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0003778/0.1553, allocations: 156.5 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1553, allocations: 55.41 kB / 1.029 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1555, allocations: 288.3 kB / 1.029 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1555, allocations: 29.7 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1556, allocations: 235 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1556, allocations: 47.55 kB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.1557, allocations: 59.31 kB / 1.029 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1559, allocations: 0.5039 MB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.1559, allocations: 23.98 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.156, allocations: 173 kB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1562, allocations: 122 kB / 1.03 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1562, allocations: 3.938 kB / 1.03 GB, free: 9.871 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000215/0.1564, allocations: 161.4 kB / 1.03 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1564, allocations: 4 kB / 1.03 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1564, allocations: 0 / 1.03 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1565, allocations: 4 kB / 1.03 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1566, allocations: 47.91 kB / 1.03 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1566, allocations: 0 / 1.03 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.1567, allocations: 19.98 kB / 1.03 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1567, allocations: 12 kB / 1.03 GB, free: 9.621 MB / 0.9948 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.997e-05/0.1568, allocations: 172.4 kB / 1.031 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.1568, allocations: 31.86 kB / 1.031 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.157, allocations: 127.4 kB / 1.031 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.157, allocations: 4 kB / 1.031 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.157, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.157, allocations: 3.938 kB / 1.031 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.1576, allocations: 0.5769 MB / 1.031 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1576, allocations: 4 kB / 1.031 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.1577, allocations: 23.98 kB / 1.031 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1577, allocations: 4 kB / 1.031 GB, free: 8.594 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1577, allocations: 11.94 kB / 1.031 GB, free: 8.582 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1578, allocations: 7.938 kB / 1.031 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1578, allocations: 0 / 1.031 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.1581, allocations: 361.7 kB / 1.032 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1581, allocations: 31.84 kB / 1.032 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1581, allocations: 8 kB / 1.032 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.1582, allocations: 11.92 kB / 1.032 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1583, allocations: 12.12 kB / 1.032 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1583, allocations: 8 kB / 1.032 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000105/0.1584, allocations: 197.1 kB / 1.032 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1584, allocations: 0 / 1.032 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002755/0.1587, allocations: 95.77 kB / 1.032 GB, free: 7.816 MB / 0.9948 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.000229/0.1589, allocations: 143 kB / 1.032 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1591, allocations: 103 kB / 1.032 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1591, allocations: 0 / 1.032 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.1592, allocations: 51.55 kB / 1.032 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.1596, allocations: 124.4 kB / 1.032 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1607, allocations: 0.5621 MB / 1.033 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.1607, allocations: 96.3 kB / 1.033 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.1608, allocations: 50.42 kB / 1.033 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.1609, allocations: 28.5 kB / 1.033 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.1609, allocations: 0 / 1.033 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of Templates: time 0.006996/0.1679, allocations: 4.454 MB / 1.037 GB, free: 2.238 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.10818007402122]