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.001254/0.001254, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001568/0.001568, allocations: 173 kB / 24.06 MB, free: 452 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.9333/0.9333, allocations: 177.1 MB / 204.5 MB, free: 5.305 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.189/2.189, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.372e-06/1.372e-06, allocations: 0 / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.102e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1254/0.1254, allocations: 142.4 MB / 1.018 GB, free: 7.117 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.1257, allocations: 171.4 kB / 1.019 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1258, allocations: 11.88 kB / 1.019 GB, free: 6.938 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1261, allocations: 51.58 kB / 1.019 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1263, allocations: 59.55 kB / 1.019 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.1264, allocations: 43.88 kB / 1.019 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1266, allocations: 211.4 kB / 1.019 GB, free: 6.578 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1268, allocations: 54.92 kB / 1.019 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.127, allocations: 115.7 kB / 1.019 GB, free: 6.406 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1271, allocations: 63.8 kB / 1.019 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1271, allocations: 8 kB / 1.019 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.1271, allocations: 12 kB / 1.019 GB, free: 6.324 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.1272, allocations: 27.86 kB / 1.019 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1272, allocations: 51.91 kB / 1.019 GB, free: 6.246 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1274, allocations: 103.5 kB / 1.019 GB, free: 6.145 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1274, allocations: 8 kB / 1.019 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1274, allocations: 0 / 1.019 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1274, allocations: 0 / 1.019 GB, free: 6.137 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.0004263/0.1278, allocations: 471.8 kB / 1.02 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1279, allocations: 8.031 kB / 1.02 GB, free: 5.633 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1279, allocations: 28.84 kB / 1.02 GB, free: 5.605 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1281, allocations: 198.1 kB / 1.02 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1282, allocations: 12.59 kB / 1.02 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1282, allocations: 12.38 kB / 1.02 GB, free: 5.363 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1284, allocations: 221 kB / 1.02 GB, free: 5.098 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1284, allocations: 0 / 1.02 GB, free: 5.098 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1284, allocations: 4 kB / 1.02 GB, free: 5.094 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1284, allocations: 4 kB / 1.02 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.1284, allocations: 47.83 kB / 1.02 GB, free: 5.043 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.1291, allocations: 1.467 MB / 1.022 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.1292, allocations: 269.4 kB / 1.022 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.1292, allocations: 126.9 kB / 1.022 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1293, allocations: 119.2 kB / 1.022 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1293, allocations: 156.6 kB / 1.022 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.1293, allocations: 0 / 1.022 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 5.692e-05/0.1294, allocations: 37.61 kB / 1.023 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.1294, allocations: 233.9 kB / 1.023 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1296, allocations: 223.3 kB / 1.023 GB, free: 2.293 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1296, allocations: 33.7 kB / 1.023 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1296, allocations: 186.5 kB / 1.023 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.1297, allocations: 4 kB / 1.023 GB, free: 2.062 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1297, allocations: 27.36 kB / 1.023 GB, free: 2.027 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1298, allocations: 0.4961 MB / 1.024 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1298, allocations: 4 kB / 1.024 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.1299, allocations: 191.9 kB / 1.024 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.54e-05/0.13, allocations: 54.38 kB / 1.024 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.13, allocations: 0 / 1.024 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001024/0.1301, allocations: 73.47 kB / 1.024 GB, free: 1.113 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1301, allocations: 4 kB / 1.024 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1301, allocations: 4 kB / 1.024 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/0.1301, allocations: 0 / 1.024 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.1301, allocations: 15.98 kB / 1.024 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.1301, allocations: 3.938 kB / 1.024 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.1302, allocations: 12.09 kB / 1.024 GB, free: 1.074 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1302, allocations: 4 kB / 1.024 GB, free: 1.07 MB / 0.9792 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.751e-05/0.1303, allocations: 283.7 kB / 1.024 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.1303, allocations: 152.8 kB / 1.024 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.1304, allocations: 165.3 kB / 1.025 GB, free: 468 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.857e-05/0.1304, allocations: 264.1 kB / 1.025 GB, free: 196 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.248e-05/0.1305, allocations: 276 kB / 1.025 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/0.1306, allocations: 264.1 kB / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.1308, allocations: 0.5004 MB / 1.026 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.1308, allocations: 148.8 kB / 1.026 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.1308, allocations: 152.9 kB / 1.026 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.617e-05/0.1309, allocations: 268 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.131, allocations: 268.1 kB / 1.027 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.391e-05/0.131, allocations: 272.1 kB / 1.027 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.276e-05/0.1311, allocations: 268 kB / 1.027 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.1312, allocations: 456.2 kB / 1.028 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1313, allocations: 164.8 kB / 1.028 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.1314, allocations: 272.1 kB / 1.028 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1314, allocations: 152.8 kB / 1.028 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1315, allocations: 268.1 kB / 1.028 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.1315, allocations: 152.8 kB / 1.029 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.1316, allocations: 163.1 kB / 1.029 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1316, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001666/0.1318, allocations: 27.89 kB / 1.029 GB, free: 12.04 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.00012/0.1319, allocations: 210.4 kB / 1.029 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.132, allocations: 27.61 kB / 1.029 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.132, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.132, allocations: 3.938 kB / 1.029 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1323, allocations: 0.7259 MB / 1.03 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.1328, allocations: 354.2 kB / 1.03 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.1329, allocations: 75.33 kB / 1.03 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.1329, allocations: 12.52 kB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.133, allocations: 86.19 kB / 1.03 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of SimCode: time 9.92e-07/0.133, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.00275/0.1357, allocations: 0.8939 MB / 1.031 GB, free: 9.617 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.52208850486204]