Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.0008902/0.0008902, 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.0009233/0.0009233, allocations: 169 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.9206/0.9206, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.921/1.921, 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.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.747e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1598/0.1598, allocations: 162.3 MB / 0.9701 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004823/0.1646, allocations: 5.879 MB / 0.9758 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.1649, allocations: 7.938 kB / 0.9758 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.1655, allocations: 99.3 kB / 0.9759 GB, free: 9.18 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1657, allocations: 55.62 kB / 0.9759 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1659, allocations: 47.81 kB / 0.976 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.1662, allocations: 223 kB / 0.9762 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.1664, allocations: 54.92 kB / 0.9763 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.1667, allocations: 135.6 kB / 0.9764 GB, free: 8.672 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1669, allocations: 55.81 kB / 0.9764 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.1669, allocations: 12 kB / 0.9765 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.1669, allocations: 8 kB / 0.9765 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.167, allocations: 35.84 kB / 0.9765 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.167, allocations: 47.92 kB / 0.9765 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1673, allocations: 103.5 kB / 0.9766 GB, free: 8.414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1673, allocations: 3.984 kB / 0.9766 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1673, allocations: 0 / 0.9766 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1673, allocations: 0 / 0.9766 GB, free: 8.41 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005946/0.1679, allocations: 467.4 kB / 0.9771 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1679, allocations: 12.03 kB / 0.9771 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.168, allocations: 31.84 kB / 0.9771 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1683, allocations: 202.4 kB / 0.9773 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1683, allocations: 7.938 kB / 0.9773 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1683, allocations: 15.98 kB / 0.9773 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1686, allocations: 212.4 kB / 0.9775 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1686, allocations: 0 / 0.9775 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1686, allocations: 8 kB / 0.9776 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1686, allocations: 4 kB / 0.9776 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.1687, allocations: 47.84 kB / 0.9776 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.1695, allocations: 1.506 MB / 0.9791 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.1696, allocations: 265.4 kB / 0.9793 GB, free: 5.461 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.1697, allocations: 130.9 kB / 0.9795 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1697, allocations: 127.1 kB / 0.9796 GB, free: 5.203 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.1697, allocations: 152.6 kB / 0.9797 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.1697, allocations: 0 / 0.9797 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 6.996e-05/0.1698, allocations: 41.59 kB / 0.9798 GB, free: 4.996 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.1699, allocations: 222 kB / 0.98 GB, free: 4.754 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.17, allocations: 225.8 kB / 0.9802 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.17, allocations: 33.7 kB / 0.9802 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1701, allocations: 186.5 kB / 0.9804 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.1701, allocations: 4 kB / 0.9804 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1702, allocations: 23.38 kB / 0.9804 GB, free: 4.254 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1703, allocations: 0.4923 MB / 0.9809 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.1703, allocations: 8 kB / 0.9809 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.1704, allocations: 191.9 kB / 0.9811 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.1705, allocations: 58.38 kB / 0.9812 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1705, allocations: 0 / 0.9812 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/0.1706, allocations: 73.52 kB / 0.9812 GB, free: 3.336 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1706, allocations: 8 kB / 0.9812 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1706, allocations: 0 / 0.9812 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1706, allocations: 3.938 kB / 0.9812 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.1707, allocations: 11.94 kB / 0.9812 GB, free: 3.312 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1707, allocations: 4.156 kB / 0.9812 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1707, allocations: 12.06 kB / 0.9813 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1707, allocations: 8 kB / 0.9813 GB, free: 3.289 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001262/0.1709, allocations: 287.6 kB / 0.9815 GB, free: 2.996 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1709, allocations: 156.8 kB / 0.9817 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.171, allocations: 153.4 kB / 0.9818 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/0.171, allocations: 276 kB / 0.9821 GB, free: 2.402 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.386e-05/0.1711, allocations: 272.1 kB / 0.9824 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.085e-05/0.1712, allocations: 272 kB / 0.9826 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1714, allocations: 0.5233 MB / 0.9831 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-05/0.1714, allocations: 144.9 kB / 0.9833 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.1714, allocations: 156.8 kB / 0.9834 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.788e-05/0.1715, allocations: 264.2 kB / 0.9837 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.1716, allocations: 280 kB / 0.9839 GB, free: 444 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.266e-05/0.1716, allocations: 268.1 kB / 0.9842 GB, free: 168 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.647e-05/0.1717, allocations: 268 kB / 0.9844 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1719, allocations: 451.9 kB / 0.9849 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1719, allocations: 160.8 kB / 0.985 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.172, allocations: 268.1 kB / 0.9853 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1721, allocations: 144.9 kB / 0.9854 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.1722, allocations: 279.9 kB / 0.9857 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.1722, allocations: 148.9 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.156e-05/0.1723, allocations: 169.2 kB / 0.986 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1723, allocations: 0 / 0.986 GB, free: 14.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001713/0.1724, allocations: 23.95 kB / 0.986 GB, free: 14.22 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001181/0.1726, allocations: 210.4 kB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.1727, allocations: 31.61 kB / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1727, allocations: 0 / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.1727, allocations: 3.938 kB / 0.9863 GB, free: 13.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1731, allocations: 0.7167 MB / 0.987 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.1736, allocations: 362.2 kB / 0.9873 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.1737, allocations: 71.33 kB / 0.9874 GB, free: 12.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.1737, allocations: 12.52 kB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1738, allocations: 12.5 kB / 0.9874 GB, free: 12.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.083e-06/0.1738, allocations: 0 / 0.9874 GB, free: 12.75 MB / 0.948 GB Notification: Performance of Templates: time 0.002591/0.1764, allocations: 0.8461 MB / 0.9882 GB, free: 11.93 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.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.37957681203261]