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.0009066/0.0009066, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009665/0.0009665, allocations: 169 kB / 23.02 MB, free: 1.539 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.9059/0.9059, 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.025/2.025, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.172e-06/1.172e-06, allocations: 0 / 0.8781 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.875e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1203/0.1203, allocations: 145.2 MB / 1.02 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0004452/0.1208, allocations: 171.4 kB / 1.02 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1209, allocations: 11.94 kB / 1.02 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.1213, allocations: 59.5 kB / 1.02 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1215, allocations: 59.55 kB / 1.02 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.1216, allocations: 31.95 kB / 1.02 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1219, allocations: 219.4 kB / 1.02 GB, free: 4.102 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1221, allocations: 53.28 kB / 1.02 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1223, allocations: 123.6 kB / 1.021 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1224, allocations: 59.81 kB / 1.021 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1224, allocations: 8 kB / 1.021 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.1225, allocations: 12 kB / 1.021 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.1225, allocations: 27.84 kB / 1.021 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.1225, allocations: 47.92 kB / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1227, allocations: 107.5 kB / 1.021 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1227, allocations: 0 / 1.021 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1227, allocations: 0 / 1.021 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1227, allocations: 0 / 1.021 GB, free: 3.668 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.0004682/0.1232, allocations: 475.8 kB / 1.021 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1232, allocations: 8.031 kB / 1.021 GB, free: 3.16 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.1233, allocations: 28.84 kB / 1.021 GB, free: 3.133 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1235, allocations: 210 kB / 1.022 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1235, allocations: 12.59 kB / 1.022 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.1235, allocations: 16.38 kB / 1.022 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1237, allocations: 217.2 kB / 1.022 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1237, allocations: 0 / 1.022 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1238, allocations: 4 kB / 1.022 GB, free: 2.609 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1238, allocations: 4 kB / 1.022 GB, free: 2.605 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.1238, allocations: 51.84 kB / 1.022 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.1246, allocations: 1.498 MB / 1.023 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.1247, allocations: 269.4 kB / 1.024 GB, free: 0.707 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.1247, allocations: 126.9 kB / 1.024 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1247, allocations: 123.2 kB / 1.024 GB, free: 468 kB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.1248, allocations: 156.6 kB / 1.024 GB, free: 300 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1248, allocations: 0 / 1.024 GB, free: 300 kB / 0.9792 GB Notification: Performance of matching and sorting (n=0): time 6.311e-05/0.1248, allocations: 37.61 kB / 1.024 GB, free: 256 kB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.1249, allocations: 226 kB / 1.024 GB, free: 4 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.125, allocations: 227.4 kB / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1251, allocations: 29.7 kB / 1.024 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.1251, allocations: 190.5 kB / 1.025 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-06/0.1251, allocations: 7.938 kB / 1.025 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.1252, allocations: 27.38 kB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1253, allocations: 0.4961 MB / 1.025 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.1253, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.1254, allocations: 188 kB / 1.025 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.1254, allocations: 66.31 kB / 1.025 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1254, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001282/0.1256, allocations: 73.47 kB / 1.025 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1256, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1256, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1256, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.578e-05/0.1257, allocations: 8 kB / 1.025 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1257, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.1257, allocations: 12.09 kB / 1.025 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1257, allocations: 11.92 kB / 1.025 GB, free: 14.54 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.891e-05/0.1258, allocations: 283.7 kB / 1.026 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.1259, allocations: 152.8 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.1259, allocations: 161.3 kB / 1.026 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/0.126, allocations: 268.1 kB / 1.026 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/0.126, allocations: 272.1 kB / 1.027 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.747e-05/0.1261, allocations: 268 kB / 1.027 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1263, allocations: 0.535 MB / 1.027 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.1263, allocations: 148.8 kB / 1.027 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1263, allocations: 148.9 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.629e-05/0.1264, allocations: 264.1 kB / 1.028 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.1265, allocations: 276 kB / 1.028 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.15e-05/0.1265, allocations: 264.1 kB / 1.028 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.954e-05/0.1266, allocations: 268.1 kB / 1.029 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1267, allocations: 464.1 kB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1268, allocations: 164.8 kB / 1.029 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.1268, allocations: 264.1 kB / 1.03 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.1269, allocations: 152.8 kB / 1.03 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.127, allocations: 268.1 kB / 1.03 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.127, allocations: 148.9 kB / 1.03 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.1271, allocations: 167.1 kB / 1.03 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1271, allocations: 0 / 1.03 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001624/0.1272, allocations: 27.89 kB / 1.03 GB, free: 9.473 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.0001033/0.1273, allocations: 214.4 kB / 1.03 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.191e-05/0.1274, allocations: 35.55 kB / 1.03 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1274, allocations: 0 / 1.03 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1274, allocations: 0 / 1.03 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1278, allocations: 0.722 MB / 1.031 GB, free: 8.488 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.1283, allocations: 358.3 kB / 1.032 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.1284, allocations: 67.33 kB / 1.032 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.1284, allocations: 12.52 kB / 1.032 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.1284, allocations: 12.5 kB / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.012e-06/0.1284, allocations: 0 / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of Templates: time 0.002562/0.131, allocations: 0.8741 MB / 1.032 GB, free: 7.145 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.369522896129638]