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.0009331/0.0009331, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001267/0.001267, allocations: 181 kB / 24.09 MB, free: 416 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.9846/0.9846, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.837/1.837, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.422e-06/1.422e-06, allocations: 0 / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.683e-05, allocations: 2.312 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.124/0.1241, allocations: 142.4 MB / 0.9511 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003454/0.1244, allocations: 175.4 kB / 0.9513 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1245, allocations: 7.938 kB / 0.9513 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.1248, allocations: 55.58 kB / 0.9513 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.125, allocations: 59.5 kB / 0.9514 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.1251, allocations: 35.94 kB / 0.9514 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1253, allocations: 219 kB / 0.9516 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1254, allocations: 54.92 kB / 0.9517 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.1256, allocations: 115.7 kB / 0.9518 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1257, allocations: 63.78 kB / 0.9518 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1258, allocations: 12 kB / 0.9518 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.1258, allocations: 8 kB / 0.9519 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1258, allocations: 31.86 kB / 0.9519 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1259, allocations: 43.92 kB / 0.9519 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.126, allocations: 115.5 kB / 0.952 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.126, allocations: 0 / 0.952 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.302e-06/0.126, allocations: 0 / 0.952 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.126, allocations: 0 / 0.952 GB, free: 1.605 MB / 0.9011 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.0006025/0.1266, allocations: 472.2 kB / 0.9525 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1267, allocations: 12.03 kB / 0.9525 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1267, allocations: 28.8 kB / 0.9525 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1269, allocations: 198.7 kB / 0.9527 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1269, allocations: 12.61 kB / 0.9527 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1269, allocations: 12.38 kB / 0.9527 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1271, allocations: 209 kB / 0.9529 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1271, allocations: 3.984 kB / 0.9529 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1271, allocations: 8 kB / 0.953 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1271, allocations: 4 kB / 0.953 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.1272, allocations: 35.86 kB / 0.953 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.128, allocations: 1.479 MB / 0.9544 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.128, allocations: 261.4 kB / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.128, allocations: 130.9 kB / 0.9548 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1281, allocations: 123.2 kB / 0.9549 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.1281, allocations: 152.6 kB / 0.9551 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1281, allocations: 0 / 0.9551 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.966e-05/0.1282, allocations: 41.59 kB / 0.9551 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1282, allocations: 222 kB / 0.9553 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1284, allocations: 230.3 kB / 0.9555 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.1284, allocations: 25.7 kB / 0.9556 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1284, allocations: 194.4 kB / 0.9558 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1284, allocations: 0 / 0.9558 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1285, allocations: 31.36 kB / 0.9558 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1286, allocations: 0.4961 MB / 0.9563 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.1286, allocations: 0 / 0.9563 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/0.1287, allocations: 188 kB / 0.9564 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.1287, allocations: 70.23 kB / 0.9565 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1287, allocations: 0 / 0.9565 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.355e-05/0.1288, allocations: 61.58 kB / 0.9566 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1288, allocations: 8 kB / 0.9566 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1288, allocations: 0 / 0.9566 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1288, allocations: 4 kB / 0.9566 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.213e-05/0.1289, allocations: 11.94 kB / 0.9566 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1289, allocations: 8.156 kB / 0.9566 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.1289, allocations: 11.89 kB / 0.9566 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-06/0.1289, allocations: 0 / 0.9566 GB, free: 12.55 MB / 0.9167 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.677e-05/0.129, allocations: 279.7 kB / 0.9569 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.1291, allocations: 164.8 kB / 0.957 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.1291, allocations: 157.4 kB / 0.9572 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-05/0.1292, allocations: 264.1 kB / 0.9574 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.673e-05/0.1292, allocations: 272 kB / 0.9577 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.243e-05/0.1293, allocations: 268.1 kB / 0.958 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1295, allocations: 0.5005 MB / 0.9584 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.1295, allocations: 160.9 kB / 0.9586 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.1296, allocations: 144.9 kB / 0.9587 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-05/0.1297, allocations: 272 kB / 0.959 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.13, allocations: 264.2 kB / 0.9592 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.429e-05/0.13, allocations: 276 kB / 0.9595 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.397e-05/0.1301, allocations: 268.1 kB / 0.9598 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1303, allocations: 455.8 kB / 0.9602 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1303, allocations: 152.8 kB / 0.9603 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.1304, allocations: 272 kB / 0.9606 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.1305, allocations: 152.9 kB / 0.9608 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.1306, allocations: 268 kB / 0.961 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.1306, allocations: 148.9 kB / 0.9611 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.1307, allocations: 164.6 kB / 0.9613 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1307, allocations: 0 / 0.9613 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001708/0.1308, allocations: 31.89 kB / 0.9613 GB, free: 7.52 MB / 0.9167 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.0001221/0.131, allocations: 218.4 kB / 0.9615 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/0.131, allocations: 23.62 kB / 0.9616 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.131, allocations: 0 / 0.9616 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.131, allocations: 0 / 0.9616 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1314, allocations: 0.7259 MB / 0.9623 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.1319, allocations: 358.2 kB / 0.9626 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.132, allocations: 75.33 kB / 0.9627 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.132, allocations: 4.5 kB / 0.9627 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1321, allocations: 86.19 kB / 0.9628 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.1321, allocations: 0 / 0.9628 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of Templates: time 0.002833/0.1349, allocations: 0.8958 MB / 0.9637 GB, free: 5.105 MB / 0.9167 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.095091356895864]