Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001137/0.001137, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001014/0.001014, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9979/0.9979, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.138/2.138, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.933e-05, allocations: 6.078 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1638/0.1639, allocations: 162.4 MB / 1.037 GB, free: 3.73 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.1686, allocations: 5.868 MB / 1.042 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1688, allocations: 7.938 kB / 1.042 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.1692, allocations: 99.31 kB / 1.043 GB, free: 13.74 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1694, allocations: 59.55 kB / 1.043 GB, free: 13.68 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.1696, allocations: 43.88 kB / 1.043 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1699, allocations: 215 kB / 1.043 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1701, allocations: 50.92 kB / 1.043 GB, free: 13.37 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1704, allocations: 147.5 kB / 1.043 GB, free: 13.23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1705, allocations: 51.83 kB / 1.043 GB, free: 13.18 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1705, allocations: 8 kB / 1.043 GB, free: 13.17 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.1706, allocations: 12 kB / 1.043 GB, free: 13.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.1706, allocations: 35.91 kB / 1.043 GB, free: 13.12 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.1707, allocations: 47.86 kB / 1.043 GB, free: 13.07 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1709, allocations: 103.5 kB / 1.043 GB, free: 12.97 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1709, allocations: 4 kB / 1.043 GB, free: 12.97 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1709, allocations: 0 / 1.043 GB, free: 12.97 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.1709, allocations: 0 / 1.043 GB, free: 12.97 MB / 1.01 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.0005515/0.1714, allocations: 475.6 kB / 1.044 GB, free: 12.47 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1715, allocations: 8.031 kB / 1.044 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.1716, allocations: 27.91 kB / 1.044 GB, free: 12.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1718, allocations: 213.5 kB / 1.044 GB, free: 12.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1718, allocations: 8.234 kB / 1.044 GB, free: 12.19 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1719, allocations: 12 kB / 1.044 GB, free: 12.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1721, allocations: 220.8 kB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1721, allocations: 3.938 kB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1721, allocations: 4 kB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1721, allocations: 4 kB / 1.044 GB, free: 11.9 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.1722, allocations: 47.84 kB / 1.044 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.173, allocations: 1.506 MB / 1.046 GB, free: 10.28 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.1731, allocations: 269.4 kB / 1.046 GB, free: 10 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.1732, allocations: 126.9 kB / 1.046 GB, free: 9.871 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1732, allocations: 119.2 kB / 1.046 GB, free: 9.754 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.1733, allocations: 156.6 kB / 1.046 GB, free: 9.59 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1733, allocations: 0 / 1.046 GB, free: 9.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 7.955e-05/0.1733, allocations: 45.48 kB / 1.046 GB, free: 9.539 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.1734, allocations: 226 kB / 1.047 GB, free: 9.293 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1736, allocations: 228.1 kB / 1.047 GB, free: 9.055 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1736, allocations: 25.7 kB / 1.047 GB, free: 9.023 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1737, allocations: 190.5 kB / 1.047 GB, free: 8.832 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.1737, allocations: 0 / 1.047 GB, free: 8.832 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1738, allocations: 27.38 kB / 1.047 GB, free: 8.797 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1739, allocations: 0.4962 MB / 1.048 GB, free: 8.289 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.1739, allocations: 0 / 1.048 GB, free: 8.289 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1741, allocations: 192 kB / 1.048 GB, free: 8.039 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/0.1742, allocations: 58.38 kB / 1.048 GB, free: 7.961 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1742, allocations: 0 / 1.048 GB, free: 7.961 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001405/0.1743, allocations: 73.47 kB / 1.048 GB, free: 7.883 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1743, allocations: 4 kB / 1.048 GB, free: 7.879 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1743, allocations: 4 kB / 1.048 GB, free: 7.875 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1744, allocations: 3.938 kB / 1.048 GB, free: 7.871 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.1744, allocations: 15.92 kB / 1.048 GB, free: 7.855 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1744, allocations: 160 / 1.048 GB, free: 7.855 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.1745, allocations: 8 kB / 1.048 GB, free: 7.848 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1745, allocations: 4 kB / 1.048 GB, free: 7.844 MB / 1.01 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.0001095/0.1746, allocations: 283.7 kB / 1.048 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.1746, allocations: 152.8 kB / 1.048 GB, free: 7.398 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.1747, allocations: 165.3 kB / 1.049 GB, free: 7.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.929e-05/0.1748, allocations: 272.1 kB / 1.049 GB, free: 6.957 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-05/0.1748, allocations: 272 kB / 1.049 GB, free: 6.684 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-05/0.1749, allocations: 264.1 kB / 1.049 GB, free: 6.418 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1751, allocations: 0.5349 MB / 1.05 GB, free: 5.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/0.1752, allocations: 144.9 kB / 1.05 GB, free: 5.691 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.1752, allocations: 156.9 kB / 1.05 GB, free: 5.531 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.1753, allocations: 272 kB / 1.05 GB, free: 5.258 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.1753, allocations: 268.1 kB / 1.051 GB, free: 4.988 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-05/0.1754, allocations: 268 kB / 1.051 GB, free: 4.719 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.413e-05/0.1755, allocations: 272 kB / 1.051 GB, free: 4.445 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.1756, allocations: 459.9 kB / 1.052 GB, free: 3.969 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1756, allocations: 152.8 kB / 1.052 GB, free: 3.812 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.1757, allocations: 272.1 kB / 1.052 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1758, allocations: 152.9 kB / 1.052 GB, free: 3.383 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.1759, allocations: 272 kB / 1.052 GB, free: 3.109 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.1759, allocations: 156.8 kB / 1.053 GB, free: 2.949 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.176, allocations: 160.2 kB / 1.053 GB, free: 2.793 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.176, allocations: 4 kB / 1.053 GB, free: 2.789 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001669/0.1762, allocations: 23.95 kB / 1.053 GB, free: 2.766 MB / 1.01 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.0001306/0.1763, allocations: 210.4 kB / 1.053 GB, free: 2.551 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1764, allocations: 27.61 kB / 1.053 GB, free: 2.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1764, allocations: 0 / 1.053 GB, free: 2.52 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.1764, allocations: 4 kB / 1.053 GB, free: 2.516 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1768, allocations: 0.7182 MB / 1.054 GB, free: 1.793 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.1775, allocations: 370.1 kB / 1.054 GB, free: 1.402 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/0.1775, allocations: 63.34 kB / 1.054 GB, free: 1.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.1776, allocations: 12.48 kB / 1.054 GB, free: 1.309 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.1776, allocations: 12.5 kB / 1.054 GB, free: 1.297 MB / 1.01 GB Notification: Performance of SimCode: time 7.91e-07/0.1776, allocations: 0 / 1.054 GB, free: 1.297 MB / 1.01 GB Notification: Performance of Templates: time 0.003238/0.1808, allocations: 0.831 MB / 1.055 GB, free: 500 kB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.814499058993533]