Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.001388/0.001388, allocations: 91.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.001223/0.001223, allocations: 165 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 1.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.816/1.816, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8116 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.19e-05, allocations: 8.641 kB / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1564/0.1564, allocations: 146.6 MB / 0.9547 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1585, allocations: 1.288 MB / 0.956 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.1588, allocations: 15.88 kB / 0.956 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1591, allocations: 95.19 kB / 0.9561 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008553/0.16, allocations: 393.7 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.1609, allocations: 458.8 kB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.1617, allocations: 0.7136 MB / 0.9576 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.1621, allocations: 193.4 kB / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.1627, allocations: 390.9 kB / 0.9582 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.163, allocations: 199.4 kB / 0.9583 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.163, allocations: 24 kB / 0.9584 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.1635, allocations: 311.1 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1636, allocations: 123.6 kB / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1637, allocations: 111.8 kB / 0.9589 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.1642, allocations: 450.5 kB / 0.9593 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1642, allocations: 4 kB / 0.9593 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1642, allocations: 0 / 0.9593 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1642, allocations: 0 / 0.9593 GB, free: 9.945 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006718/0.1649, allocations: 0.6631 MB / 0.96 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.165, allocations: 8.031 kB / 0.96 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.1657, allocations: 220 kB / 0.9602 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.166, allocations: 267.4 kB / 0.9604 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.166, allocations: 24.44 kB / 0.9605 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.166, allocations: 28 kB / 0.9605 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1663, allocations: 235.9 kB / 0.9607 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1664, allocations: 0 / 0.9607 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1664, allocations: 12 kB / 0.9607 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1664, allocations: 4 kB / 0.9607 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1665, allocations: 88.75 kB / 0.9608 GB, free: 8.328 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.0009315/0.1674, allocations: 1.15 MB / 0.9619 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1676, allocations: 94.97 kB / 0.962 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.1677, allocations: 43.67 kB / 0.9621 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.1679, allocations: 47.94 kB / 0.9621 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1679, allocations: 37.39 kB / 0.9622 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.1679, allocations: 0 / 0.9622 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0003479/0.1682, allocations: 177.6 kB / 0.9623 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.1683, allocations: 55.41 kB / 0.9624 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1685, allocations: 298.3 kB / 0.9627 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1685, allocations: 29.7 kB / 0.9627 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1686, allocations: 235 kB / 0.9629 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1686, allocations: 67.42 kB / 0.963 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.1687, allocations: 47.36 kB / 0.963 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1688, allocations: 0.5079 MB / 0.9635 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.1688, allocations: 31.97 kB / 0.9635 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.169, allocations: 173.6 kB / 0.9637 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1691, allocations: 131.5 kB / 0.9638 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1691, allocations: 3.938 kB / 0.9638 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00021/0.1693, allocations: 172.2 kB / 0.964 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1693, allocations: 4 kB / 0.964 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1693, allocations: 4 kB / 0.964 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1693, allocations: 240 / 0.964 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1695, allocations: 55.92 kB / 0.9641 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1695, allocations: 3.938 kB / 0.9641 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.261e-05/0.1695, allocations: 23.88 kB / 0.9641 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1696, allocations: 11.98 kB / 0.9641 GB, free: 4.738 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 (24): * Single equations (assignments): 24 * 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 8.566e-05/0.1696, allocations: 172.5 kB / 0.9643 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.1697, allocations: 27.86 kB / 0.9643 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1699, allocations: 141.2 kB / 0.9644 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1699, allocations: 0 / 0.9644 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1699, allocations: 0 / 0.9644 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1699, allocations: 8 kB / 0.9644 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1704, allocations: 0.5807 MB / 0.965 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1704, allocations: 0 / 0.965 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.3e-05/0.1705, allocations: 39.92 kB / 0.965 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1705, allocations: 0 / 0.965 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1705, allocations: 4 kB / 0.965 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1705, allocations: 16.19 kB / 0.9651 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1705, allocations: 7.938 kB / 0.9651 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1708, allocations: 367.6 kB / 0.9654 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.1709, allocations: 39.78 kB / 0.9655 GB, free: 3.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1709, allocations: 4 kB / 0.9655 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.171, allocations: 11.98 kB / 0.9655 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.171, allocations: 19.86 kB / 0.9655 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.171, allocations: 8 kB / 0.9655 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001208/0.1711, allocations: 211 kB / 0.9657 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1711, allocations: 4.031 kB / 0.9657 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002719/0.1714, allocations: 91.78 kB / 0.9658 GB, free: 2.871 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 (17): * Single equations (assignments): 17 * 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.0001928/0.1716, allocations: 127.2 kB / 0.9659 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1718, allocations: 111.3 kB / 0.966 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1718, allocations: 0 / 0.966 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.1719, allocations: 63.92 kB / 0.9661 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1723, allocations: 113.3 kB / 0.9662 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.1733, allocations: 0.6019 MB / 0.9668 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.1733, allocations: 100.3 kB / 0.9669 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.1735, allocations: 46.27 kB / 0.9669 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.1735, allocations: 24.5 kB / 0.9669 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of SimCode: time 1.031e-06/0.1735, allocations: 0 / 0.9669 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of Templates: time 0.007518/0.181, allocations: 5.07 MB / 0.9719 GB, free: 12.67 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.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.4013113849796355]