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.0009799/0.0009799, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001002/0.001002, allocations: 161 kB / 24.17 MB, free: 332 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 1.001/1.001, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.95/1.95, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.593e-06/1.593e-06, allocations: 0.875 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.407e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1574/0.1574, allocations: 144.5 MB / 0.9012 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003552/0.1578, allocations: 179.3 kB / 0.9013 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1579, allocations: 15.88 kB / 0.9013 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1582, allocations: 55.52 kB / 0.9014 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1583, allocations: 51.62 kB / 0.9014 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.1585, allocations: 39.88 kB / 0.9015 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1587, allocations: 219 kB / 0.9017 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1588, allocations: 63.56 kB / 0.9017 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.159, allocations: 111.7 kB / 0.9019 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1591, allocations: 55.81 kB / 0.9019 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1592, allocations: 12 kB / 0.9019 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.1592, allocations: 8 kB / 0.9019 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.1592, allocations: 35.91 kB / 0.902 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.1593, allocations: 47.86 kB / 0.902 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1594, allocations: 103.5 kB / 0.9021 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1594, allocations: 0 / 0.9021 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1594, allocations: 0 / 0.9021 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1594, allocations: 0 / 0.9021 GB, free: 4.777 MB / 0.8542 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.0003932/0.1598, allocations: 344.5 kB / 0.9024 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1599, allocations: 8.031 kB / 0.9024 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.1599, allocations: 24.92 kB / 0.9025 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1601, allocations: 190.8 kB / 0.9026 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1601, allocations: 8.609 kB / 0.9027 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1601, allocations: 12.38 kB / 0.9027 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1603, allocations: 201.4 kB / 0.9029 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1603, allocations: 0 / 0.9029 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1603, allocations: 4 kB / 0.9029 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1603, allocations: 4 kB / 0.9029 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.1604, allocations: 38.69 kB / 0.9029 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.161, allocations: 0.9777 MB / 0.9039 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.161, allocations: 169.1 kB / 0.904 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.1611, allocations: 84.12 kB / 0.9041 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1611, allocations: 79.28 kB / 0.9042 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1611, allocations: 105.8 kB / 0.9043 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.432e-06/0.1611, allocations: 0 / 0.9043 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.938e-05/0.1612, allocations: 33.73 kB / 0.9043 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1612, allocations: 186 kB / 0.9045 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1613, allocations: 174.5 kB / 0.9047 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1613, allocations: 25.7 kB / 0.9047 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1614, allocations: 131.8 kB / 0.9048 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.1614, allocations: 3.984 kB / 0.9048 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.1614, allocations: 25.7 kB / 0.9048 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.1615, allocations: 326.8 kB / 0.9051 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.1615, allocations: 2.828 kB / 0.9051 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1616, allocations: 158.5 kB / 0.9053 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.1616, allocations: 57.86 kB / 0.9054 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1616, allocations: 0 / 0.9054 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.215e-05/0.1617, allocations: 67.2 kB / 0.9054 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1617, allocations: 6.188 kB / 0.9054 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1617, allocations: 4 kB / 0.9054 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1617, allocations: 0 / 0.9054 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.1618, allocations: 8 kB / 0.9054 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1618, allocations: 8.094 kB / 0.9054 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.1618, allocations: 16.02 kB / 0.9055 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1618, allocations: 8 kB / 0.9055 GB, free: 1.035 MB / 0.8542 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 7.048e-05/0.1619, allocations: 191.9 kB / 0.9056 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.1619, allocations: 109 kB / 0.9058 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.162, allocations: 121.4 kB / 0.9059 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/0.162, allocations: 176.3 kB / 0.906 GB, free: 428 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.176e-05/0.162, allocations: 184.2 kB / 0.9062 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/0.1621, allocations: 180.3 kB / 0.9064 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1622, allocations: 349.3 kB / 0.9067 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/0.1623, allocations: 112.9 kB / 0.9068 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.1623, allocations: 101 kB / 0.9069 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.041e-05/0.1623, allocations: 188.2 kB / 0.9071 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.1624, allocations: 180.2 kB / 0.9073 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.102e-05/0.1624, allocations: 180.3 kB / 0.9074 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-05/0.1624, allocations: 180.2 kB / 0.9076 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.152e-05/0.1625, allocations: 311.7 kB / 0.9079 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1626, allocations: 116.9 kB / 0.908 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.1626, allocations: 180.3 kB / 0.9082 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.1627, allocations: 108.9 kB / 0.9083 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1627, allocations: 176.3 kB / 0.9085 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1627, allocations: 112.9 kB / 0.9086 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.1628, allocations: 42.81 kB / 0.9086 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1628, allocations: 0 / 0.9086 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001317/0.1629, allocations: 27.89 kB / 0.9086 GB, free: 13.6 MB / 0.8698 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 9.339e-05/0.163, allocations: 151.7 kB / 0.9088 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.1631, allocations: 16.8 kB / 0.9088 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1631, allocations: 0 / 0.9088 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.1631, allocations: 4 kB / 0.9088 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1633, allocations: 479.9 kB / 0.9093 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1637, allocations: 311 kB / 0.9096 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.1638, allocations: 75.19 kB / 0.9096 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.1638, allocations: 8.484 kB / 0.9096 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.1639, allocations: 67.38 kB / 0.9097 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/0.1639, allocations: 0 / 0.9097 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.002606/0.1665, allocations: 0.883 MB / 0.9106 GB, free: 11.59 MB / 0.8698 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.1090100281871855]