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.0009539/0.0009539, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001497/0.001497, allocations: 177 kB / 23.36 MB, free: 1.129 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.029/1.029, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.606/2.606, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.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.493e-06/1.493e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.958e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1435/0.1436, allocations: 144.6 MB / 0.9798 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.1439, allocations: 179.3 kB / 0.98 GB, free: 12.87 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.144, allocations: 7.938 kB / 0.98 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1442, allocations: 59.5 kB / 0.98 GB, free: 12.8 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1444, allocations: 59.56 kB / 0.9801 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.1445, allocations: 35.94 kB / 0.9801 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1447, allocations: 211 kB / 0.9803 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1448, allocations: 63.56 kB / 0.9804 GB, free: 12.44 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.145, allocations: 119.6 kB / 0.9805 GB, free: 12.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1451, allocations: 51.81 kB / 0.9806 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1451, allocations: 8 kB / 0.9806 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.1452, allocations: 16 kB / 0.9806 GB, free: 12.25 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.1452, allocations: 31.86 kB / 0.9806 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.1452, allocations: 47.91 kB / 0.9807 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1454, allocations: 107.5 kB / 0.9808 GB, free: 12.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1454, allocations: 0 / 0.9808 GB, free: 12.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1454, allocations: 0 / 0.9808 GB, free: 12.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1454, allocations: 0 / 0.9808 GB, free: 12.07 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0003614/0.1458, allocations: 340.2 kB / 0.9811 GB, free: 11.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1458, allocations: 8.625 kB / 0.9811 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1458, allocations: 20.92 kB / 0.9811 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.146, allocations: 193.3 kB / 0.9813 GB, free: 11.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.146, allocations: 12.61 kB / 0.9813 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.146, allocations: 12.38 kB / 0.9813 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1462, allocations: 200.2 kB / 0.9815 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1462, allocations: 0 / 0.9815 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1462, allocations: 8 kB / 0.9815 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1462, allocations: 8 kB / 0.9815 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.1463, allocations: 34.69 kB / 0.9816 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.1468, allocations: 0.97 MB / 0.9825 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.1468, allocations: 177.1 kB / 0.9827 GB, free: 9.957 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.1468, allocations: 80.14 kB / 0.9828 GB, free: 9.875 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1469, allocations: 75.28 kB / 0.9828 GB, free: 9.801 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1469, allocations: 109.8 kB / 0.9829 GB, free: 9.684 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1469, allocations: 0 / 0.9829 GB, free: 9.684 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.631e-05/0.147, allocations: 37.69 kB / 0.983 GB, free: 9.641 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.147, allocations: 182.1 kB / 0.9831 GB, free: 9.438 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1471, allocations: 167.6 kB / 0.9833 GB, free: 9.262 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1471, allocations: 29.64 kB / 0.9833 GB, free: 9.227 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.1472, allocations: 135.7 kB / 0.9835 GB, free: 9.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.1472, allocations: 3.984 kB / 0.9835 GB, free: 9.086 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1472, allocations: 17.72 kB / 0.9835 GB, free: 9.062 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.1473, allocations: 326.8 kB / 0.9838 GB, free: 8.734 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1473, allocations: 10.77 kB / 0.9838 GB, free: 8.723 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.1474, allocations: 162.5 kB / 0.984 GB, free: 8.512 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1475, allocations: 53.88 kB / 0.984 GB, free: 8.441 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1475, allocations: 0 / 0.984 GB, free: 8.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.1476, allocations: 71.2 kB / 0.9841 GB, free: 8.363 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1476, allocations: 4 kB / 0.9841 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1476, allocations: 0 / 0.9841 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1476, allocations: 8.031 kB / 0.9841 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.1477, allocations: 16.14 kB / 0.9841 GB, free: 8.336 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1477, allocations: 0 / 0.9841 GB, free: 8.336 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.979e-05/0.1477, allocations: 11.89 kB / 0.9841 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1477, allocations: 7.922 kB / 0.9841 GB, free: 8.316 MB / 0.948 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 8.873e-05/0.1478, allocations: 191.9 kB / 0.9843 GB, free: 8.117 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.1479, allocations: 117 kB / 0.9844 GB, free: 7.996 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.1479, allocations: 113.4 kB / 0.9845 GB, free: 7.879 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/0.148, allocations: 176.3 kB / 0.9847 GB, free: 7.699 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.904e-05/0.148, allocations: 180.2 kB / 0.9849 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.941e-05/0.148, allocations: 188.3 kB / 0.985 GB, free: 7.324 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1482, allocations: 349.3 kB / 0.9854 GB, free: 6.957 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/0.1482, allocations: 108.9 kB / 0.9855 GB, free: 6.844 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.1482, allocations: 101 kB / 0.9856 GB, free: 6.738 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.041e-05/0.1483, allocations: 180.3 kB / 0.9858 GB, free: 6.555 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.1483, allocations: 184.2 kB / 0.9859 GB, free: 6.367 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.016e-05/0.1484, allocations: 176.3 kB / 0.9861 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002202/0.1486, allocations: 184.2 kB / 0.9863 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.1487, allocations: 315.7 kB / 0.9866 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1487, allocations: 116.9 kB / 0.9867 GB, free: 5.547 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1488, allocations: 176.3 kB / 0.9869 GB, free: 5.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.1489, allocations: 108.9 kB / 0.987 GB, free: 5.254 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1489, allocations: 180.6 kB / 0.9871 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.1489, allocations: 108.9 kB / 0.9872 GB, free: 4.957 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.149, allocations: 42.31 kB / 0.9873 GB, free: 4.914 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.149, allocations: 0 / 0.9873 GB, free: 4.914 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001585/0.1491, allocations: 27.89 kB / 0.9873 GB, free: 4.887 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.0001089/0.1492, allocations: 151.7 kB / 0.9874 GB, free: 4.727 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/0.1493, allocations: 24.83 kB / 0.9875 GB, free: 4.699 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1493, allocations: 8.25 kB / 0.9875 GB, free: 4.691 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.1493, allocations: 4 kB / 0.9875 GB, free: 4.688 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1496, allocations: 467.6 kB / 0.9879 GB, free: 4.227 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.1501, allocations: 323.5 kB / 0.9882 GB, free: 3.883 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.1501, allocations: 63.34 kB / 0.9883 GB, free: 3.801 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.1502, allocations: 8.484 kB / 0.9883 GB, free: 3.793 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.1502, allocations: 71.36 kB / 0.9884 GB, free: 3.723 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/0.1502, allocations: 0 / 0.9884 GB, free: 3.723 MB / 0.948 GB Notification: Performance of Templates: time 0.002655/0.1529, allocations: 0.8899 MB / 0.9892 GB, free: 2.852 MB / 0.948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.640599142294377]