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.001055/0.001055, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001009/0.001009, allocations: 181 kB / 23.36 MB, free: 1.133 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.048/1.048, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.425/2.425, allocations: 438.8 MB / 0.6827 GB, free: 13.53 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.393e-06/1.393e-06, allocations: 0 / 0.8386 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.495e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1636/0.1636, allocations: 146 MB / 0.9812 GB, free: 11.56 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1654, allocations: 1.277 MB / 0.9824 GB, free: 10.28 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1655, allocations: 19.81 kB / 0.9825 GB, free: 10.26 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1658, allocations: 79.34 kB / 0.9825 GB, free: 10.18 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006742/0.1665, allocations: 389.8 kB / 0.9829 GB, free: 9.801 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009955/0.1675, allocations: 442.8 kB / 0.9833 GB, free: 9.367 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.1682, allocations: 0.6853 MB / 0.984 GB, free: 8.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.1686, allocations: 171.4 kB / 0.9842 GB, free: 8.516 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.1691, allocations: 351 kB / 0.9845 GB, free: 8.172 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1694, allocations: 191.4 kB / 0.9847 GB, free: 7.984 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.1694, allocations: 20 kB / 0.9847 GB, free: 7.965 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.1699, allocations: 311.1 kB / 0.985 GB, free: 7.66 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.17, allocations: 123.6 kB / 0.9851 GB, free: 7.539 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.17, allocations: 111.8 kB / 0.9852 GB, free: 7.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.1705, allocations: 430.6 kB / 0.9856 GB, free: 7.008 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1705, allocations: 4 kB / 0.9856 GB, free: 7.004 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1705, allocations: 0 / 0.9856 GB, free: 7.004 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1705, allocations: 0 / 0.9856 GB, free: 7.004 MB / 0.948 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.0006497/0.1712, allocations: 0.5147 MB / 0.9861 GB, free: 6.465 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.1712, allocations: 8.031 kB / 0.9861 GB, free: 6.457 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.172, allocations: 216.2 kB / 0.9864 GB, free: 6.246 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1723, allocations: 240.7 kB / 0.9866 GB, free: 5.984 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1723, allocations: 24.88 kB / 0.9866 GB, free: 5.957 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1724, allocations: 20.31 kB / 0.9866 GB, free: 5.938 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1726, allocations: 219.7 kB / 0.9868 GB, free: 5.699 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1726, allocations: 3.984 kB / 0.9868 GB, free: 5.695 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1727, allocations: 12 kB / 0.9868 GB, free: 5.684 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1727, allocations: 4 kB / 0.9869 GB, free: 5.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1728, allocations: 76.38 kB / 0.9869 GB, free: 5.602 MB / 0.948 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.000679/0.1734, allocations: 0.7745 MB / 0.9877 GB, free: 4.789 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1735, allocations: 113.3 kB / 0.9878 GB, free: 4.668 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.1736, allocations: 31.69 kB / 0.9878 GB, free: 4.633 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.1737, allocations: 47.94 kB / 0.9879 GB, free: 4.586 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.1738, allocations: 38.5 kB / 0.9879 GB, free: 4.539 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.1738, allocations: 4 kB / 0.9879 GB, free: 4.535 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002446/0.174, allocations: 121.8 kB / 0.988 GB, free: 4.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.174, allocations: 55.39 kB / 0.9881 GB, free: 4.344 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1742, allocations: 228.9 kB / 0.9883 GB, free: 4.105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1742, allocations: 29.7 kB / 0.9883 GB, free: 4.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1742, allocations: 164.7 kB / 0.9885 GB, free: 3.906 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1743, allocations: 59.47 kB / 0.9885 GB, free: 3.848 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1743, allocations: 41.69 kB / 0.9886 GB, free: 3.801 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.1744, allocations: 334.8 kB / 0.9889 GB, free: 3.465 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.1744, allocations: 22.83 kB / 0.9889 GB, free: 3.441 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.1745, allocations: 146.2 kB / 0.9891 GB, free: 3.262 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.1746, allocations: 105.5 kB / 0.9892 GB, free: 3.137 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1746, allocations: 3.938 kB / 0.9892 GB, free: 3.133 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001341/0.1747, allocations: 126.7 kB / 0.9893 GB, free: 3.004 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1748, allocations: 8 kB / 0.9893 GB, free: 2.996 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1748, allocations: 4.094 kB / 0.9893 GB, free: 2.992 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1748, allocations: 4 kB / 0.9893 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1749, allocations: 43.91 kB / 0.9893 GB, free: 2.945 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1749, allocations: 3.984 kB / 0.9893 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.1749, allocations: 19.89 kB / 0.9894 GB, free: 2.922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.175, allocations: 4 kB / 0.9894 GB, free: 2.918 MB / 0.948 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 7.942e-05/0.175, allocations: 128.5 kB / 0.9895 GB, free: 2.781 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1751, allocations: 23.97 kB / 0.9895 GB, free: 2.758 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.1752, allocations: 107.4 kB / 0.9896 GB, free: 2.648 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1752, allocations: 3.938 kB / 0.9896 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1752, allocations: 4 kB / 0.9896 GB, free: 2.641 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1752, allocations: 0 / 0.9896 GB, free: 2.641 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.1756, allocations: 0.4959 MB / 0.9901 GB, free: 2.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1756, allocations: 7.984 kB / 0.9901 GB, free: 2.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.1757, allocations: 23.98 kB / 0.9901 GB, free: 2.059 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.1757, allocations: 4.219 kB / 0.9901 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1757, allocations: 12 kB / 0.9901 GB, free: 2.043 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1757, allocations: 11.94 kB / 0.9902 GB, free: 2.031 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1757, allocations: 0 / 0.9902 GB, free: 2.031 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1759, allocations: 322.5 kB / 0.9905 GB, free: 1.672 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.176, allocations: 23.86 kB / 0.9905 GB, free: 1.648 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.176, allocations: 11.98 kB / 0.9905 GB, free: 1.637 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1761, allocations: 4 kB / 0.9905 GB, free: 1.633 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1761, allocations: 15.92 kB / 0.9905 GB, free: 1.617 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1761, allocations: 4 kB / 0.9905 GB, free: 1.613 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.1762, allocations: 86.78 kB / 0.9906 GB, free: 1.531 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1762, allocations: 0 / 0.9906 GB, free: 1.531 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002196/0.1764, allocations: 95.78 kB / 0.9907 GB, free: 1.438 MB / 0.948 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.0001598/0.1765, allocations: 104.3 kB / 0.9908 GB, free: 1.328 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1767, allocations: 82.75 kB / 0.9909 GB, free: 1.246 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1767, allocations: 8.188 kB / 0.9909 GB, free: 1.238 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.1767, allocations: 44.72 kB / 0.9909 GB, free: 1.191 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1771, allocations: 113.2 kB / 0.991 GB, free: 1.078 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.1779, allocations: 0.5564 MB / 0.9916 GB, free: 476 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.007e-05/0.178, allocations: 92.3 kB / 0.9917 GB, free: 364 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.178, allocations: 34.27 kB / 0.9917 GB, free: 328 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1782, allocations: 129.3 kB / 0.9918 GB, free: 196 kB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.1782, allocations: 0 / 0.9918 GB, free: 196 kB / 0.948 GB Notification: Performance of Templates: time 0.006496/0.1847, allocations: 4.842 MB / 0.9966 GB, free: 11.48 MB / 0.9636 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 -s gbode -gbm=radauIIA3 -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: 5.694869244005531]