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.001367/0.001367, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001467/0.001467, allocations: 165 kB / 24.28 MB, free: 276 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.9769/0.9769, allocations: 177.1 MB / 204.6 MB, free: 5.289 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.911/1.911, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.593e-06/1.593e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.907e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1547/0.1547, allocations: 163.7 MB / 0.9714 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1572, allocations: 1.589 MB / 0.973 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.1576, allocations: 11.88 kB / 0.973 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.1581, allocations: 162.7 kB / 0.9732 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.1596, allocations: 0.7228 MB / 0.9739 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1611, allocations: 0.6579 MB / 0.9745 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.1619, allocations: 0.7175 MB / 0.9752 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.1622, allocations: 197.2 kB / 0.9754 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1632, allocations: 0.6074 MB / 0.976 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1634, allocations: 207.4 kB / 0.9762 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1635, allocations: 24 kB / 0.9762 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1649, allocations: 0.7126 MB / 0.9769 GB, free: 8.172 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.165, allocations: 111.6 kB / 0.977 GB, free: 8.062 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1651, allocations: 127.7 kB / 0.9771 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.1661, allocations: 0.662 MB / 0.9778 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1661, allocations: 0 / 0.9778 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1661, allocations: 0 / 0.9778 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1661, allocations: 0 / 0.9778 GB, free: 7.273 MB / 0.9323 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.0009377/0.1671, allocations: 0.6819 MB / 0.9784 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1671, allocations: 12.03 kB / 0.9785 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/0.1679, allocations: 203.2 kB / 0.9786 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1684, allocations: 295.2 kB / 0.9789 GB, free: 6.031 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1684, allocations: 16.5 kB / 0.9789 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.1684, allocations: 24 kB / 0.979 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.1688, allocations: 239.8 kB / 0.9792 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1688, allocations: 4 kB / 0.9792 GB, free: 5.727 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.1688, allocations: 12 kB / 0.9792 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1688, allocations: 4 kB / 0.9792 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.169, allocations: 89 kB / 0.9793 GB, free: 5.625 MB / 0.9323 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.001051/0.17, allocations: 1.146 MB / 0.9804 GB, free: 4.422 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1702, allocations: 95.02 kB / 0.9805 GB, free: 4.316 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.133e-05/0.1703, allocations: 39.67 kB / 0.9805 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1705, allocations: 63.94 kB / 0.9806 GB, free: 4.211 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1706, allocations: 33.39 kB / 0.9806 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.1706, allocations: 3.938 kB / 0.9806 GB, free: 4.164 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17): time 0.0004175/0.171, allocations: 188.4 kB / 0.9808 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.171, allocations: 51.41 kB / 0.9809 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1713, allocations: 302.3 kB / 0.9812 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1713, allocations: 29.7 kB / 0.9812 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1714, allocations: 231 kB / 0.9814 GB, free: 3.336 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1715, allocations: 63.44 kB / 0.9815 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.1715, allocations: 55.36 kB / 0.9815 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.1717, allocations: 0.504 MB / 0.982 GB, free: 2.695 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.1718, allocations: 27.98 kB / 0.982 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1719, allocations: 173.6 kB / 0.9822 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.172, allocations: 134 kB / 0.9823 GB, free: 2.301 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.172, allocations: 4 kB / 0.9823 GB, free: 2.297 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002224/0.1723, allocations: 167.8 kB / 0.9825 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1723, allocations: 7.938 kB / 0.9825 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1723, allocations: 4 kB / 0.9825 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1723, allocations: 4 kB / 0.9825 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1724, allocations: 44.02 kB / 0.9826 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1725, allocations: 0 / 0.9826 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.1725, allocations: 23.84 kB / 0.9826 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.1726, allocations: 15.92 kB / 0.9826 GB, free: 2.031 MB / 0.9323 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 0.0001008/0.1727, allocations: 172.5 kB / 0.9828 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1727, allocations: 31.86 kB / 0.9828 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.1729, allocations: 143.7 kB / 0.9829 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1729, allocations: 0 / 0.9829 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1729, allocations: 4 kB / 0.9829 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1729, allocations: 0 / 0.9829 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.1735, allocations: 0.5847 MB / 0.9835 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1736, allocations: 4 kB / 0.9835 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1737, allocations: 31.92 kB / 0.9835 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1737, allocations: 4 kB / 0.9835 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1737, allocations: 4 kB / 0.9835 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1737, allocations: 4 kB / 0.9835 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1737, allocations: 8.219 kB / 0.9836 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.174, allocations: 376.7 kB / 0.9839 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1741, allocations: 39.78 kB / 0.984 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1741, allocations: 4 kB / 0.984 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1742, allocations: 8 kB / 0.984 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.1742, allocations: 27.98 kB / 0.984 GB, free: 476 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1742, allocations: 11.98 kB / 0.984 GB, free: 464 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001142/0.1743, allocations: 207 kB / 0.9842 GB, free: 260 kB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1743, allocations: 0 / 0.9842 GB, free: 260 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003321/0.1747, allocations: 99.81 kB / 0.9843 GB, free: 160 kB / 0.9323 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.0003409/0.175, allocations: 151.1 kB / 0.9844 GB, free: 0 / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.1752, allocations: 107.5 kB / 0.9845 GB, free: 15.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1753, allocations: 0 / 0.9845 GB, free: 15.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.1753, allocations: 56.11 kB / 0.9846 GB, free: 15.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.1758, allocations: 131 kB / 0.9847 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1772, allocations: 0.5826 MB / 0.9853 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.982e-05/0.1773, allocations: 100.3 kB / 0.9854 GB, free: 14.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.1774, allocations: 50.09 kB / 0.9854 GB, free: 14.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.1775, allocations: 24.5 kB / 0.9855 GB, free: 14.87 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/0.1775, allocations: 0 / 0.9855 GB, free: 14.87 MB / 0.948 GB Notification: Performance of Templates: time 0.008709/0.1862, allocations: 4.923 MB / 0.9903 GB, free: 10.09 MB / 0.948 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.539239556062967]