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.001336/0.001336, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001617/0.001617, allocations: 169 kB / 23.02 MB, free: 1.551 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.9614/0.9614, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.095/2.095, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.132e-06/1.132e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.396e-05, allocations: 6.844 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1413/0.1413, allocations: 145.2 MB / 1.02 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.1417, allocations: 175.4 kB / 1.02 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1418, allocations: 7.938 kB / 1.02 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1421, allocations: 55.52 kB / 1.02 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1422, allocations: 63.55 kB / 1.02 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.1424, allocations: 35.94 kB / 1.02 GB, free: 4.336 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1426, allocations: 215.3 kB / 1.02 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1428, allocations: 58.92 kB / 1.02 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.143, allocations: 107.7 kB / 1.021 GB, free: 3.957 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1431, allocations: 67.73 kB / 1.021 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1432, allocations: 12 kB / 1.021 GB, free: 3.879 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.1432, allocations: 8 kB / 1.021 GB, free: 3.871 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1432, allocations: 27.92 kB / 1.021 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.1433, allocations: 51.84 kB / 1.021 GB, free: 3.793 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1435, allocations: 107.5 kB / 1.021 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1435, allocations: 0 / 1.021 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1435, allocations: 0 / 1.021 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1435, allocations: 0 / 1.021 GB, free: 3.688 MB / 0.9792 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.0004809/0.144, allocations: 467.8 kB / 1.021 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.144, allocations: 12.03 kB / 1.021 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1441, allocations: 24.84 kB / 1.021 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1443, allocations: 214 kB / 1.022 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1443, allocations: 8.609 kB / 1.022 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1443, allocations: 8.375 kB / 1.022 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.1446, allocations: 221.2 kB / 1.022 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1446, allocations: 0 / 1.022 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1446, allocations: 8 kB / 1.022 GB, free: 2.637 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1446, allocations: 7.938 kB / 1.022 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.1447, allocations: 43.84 kB / 1.022 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.1455, allocations: 1.502 MB / 1.023 GB, free: 1.012 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.1456, allocations: 269.4 kB / 1.024 GB, free: 0.7344 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.1456, allocations: 126.9 kB / 1.024 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1456, allocations: 123.2 kB / 1.024 GB, free: 496 kB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.1457, allocations: 156.6 kB / 1.024 GB, free: 328 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.1457, allocations: 0 / 1.024 GB, free: 328 kB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 7.523e-05/0.1458, allocations: 45.59 kB / 1.024 GB, free: 276 kB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.1458, allocations: 222 kB / 1.024 GB, free: 28 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.146, allocations: 227.4 kB / 1.024 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.146, allocations: 29.7 kB / 1.024 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.1461, allocations: 186.5 kB / 1.025 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.1461, allocations: 7.984 kB / 1.025 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1462, allocations: 27.31 kB / 1.025 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1463, allocations: 0.5 MB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.1463, allocations: 4 kB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.1464, allocations: 184 kB / 1.025 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.1464, allocations: 54.36 kB / 1.025 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1464, allocations: 4 kB / 1.025 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001361/0.1466, allocations: 77.47 kB / 1.025 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1466, allocations: 8 kB / 1.025 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1466, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1466, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.1467, allocations: 8 kB / 1.025 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1467, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1467, allocations: 3.938 kB / 1.025 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1467, allocations: 12.09 kB / 1.025 GB, free: 14.57 MB / 0.9948 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 9.904e-05/0.1468, allocations: 287.7 kB / 1.026 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1469, allocations: 152.8 kB / 1.026 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.1469, allocations: 157.3 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001796/0.1471, allocations: 272.1 kB / 1.026 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-05/0.1472, allocations: 272.1 kB / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.694e-05/0.1472, allocations: 268 kB / 1.027 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1474, allocations: 0.5311 MB / 1.027 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.1475, allocations: 148.8 kB / 1.027 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1475, allocations: 152.8 kB / 1.028 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.257e-05/0.1476, allocations: 272.1 kB / 1.028 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.1476, allocations: 268 kB / 1.028 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/0.1477, allocations: 272.1 kB / 1.028 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-05/0.1477, allocations: 268 kB / 1.029 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.1479, allocations: 456.1 kB / 1.029 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.1479, allocations: 164.8 kB / 1.029 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.148, allocations: 268.1 kB / 1.03 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1481, allocations: 148.8 kB / 1.03 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1481, allocations: 268.1 kB / 1.03 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.1482, allocations: 145 kB / 1.03 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.1483, allocations: 167.1 kB / 1.03 GB, free: 9.531 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1483, allocations: 7.938 kB / 1.03 GB, free: 9.523 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002382/0.1485, allocations: 27.89 kB / 1.03 GB, free: 9.496 MB / 0.9948 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.0001083/0.1486, allocations: 210.4 kB / 1.03 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.1487, allocations: 31.5 kB / 1.03 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1487, allocations: 7.938 kB / 1.03 GB, free: 9.242 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1487, allocations: 0 / 1.03 GB, free: 9.242 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1491, allocations: 0.714 MB / 1.031 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.1497, allocations: 362.6 kB / 1.032 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.014e-05/0.1498, allocations: 67.33 kB / 1.032 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.99e-05/0.1498, allocations: 16.47 kB / 1.032 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1498, allocations: 12.5 kB / 1.032 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of SimCode: time 8.62e-07/0.1498, allocations: 0 / 1.032 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of Templates: time 0.00293/0.1528, allocations: 0.8355 MB / 1.032 GB, free: 7.215 MB / 0.9948 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 -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.7563464171253145]