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.001833/0.001833, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001516/0.001516, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1..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.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 69.52 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3816, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1983/0.58, allocations: 146.5 MB / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006934/0.5869, allocations: 5.175 MB / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.5872, allocations: 7.938 kB / 1.474 GB, free: 9.551 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.5877, allocations: 103.2 kB / 1.475 GB, free: 9.449 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.588, allocations: 63.61 kB / 1.475 GB, free: 9.387 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.5882, allocations: 31.95 kB / 1.475 GB, free: 9.355 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.5886, allocations: 219.1 kB / 1.475 GB, free: 9.141 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.5889, allocations: 64.88 kB / 1.475 GB, free: 9.078 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.5892, allocations: 95.64 kB / 1.475 GB, free: 8.984 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.5893, allocations: 75.61 kB / 1.475 GB, free: 8.91 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.5894, allocations: 16 kB / 1.475 GB, free: 8.895 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.169e-05/0.5894, allocations: 8 kB / 1.475 GB, free: 8.887 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.5895, allocations: 31.86 kB / 1.475 GB, free: 8.855 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.5895, allocations: 55.73 kB / 1.475 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.5898, allocations: 163.2 kB / 1.475 GB, free: 8.641 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5898, allocations: 4 kB / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.418e-06/0.5898, allocations: 3.984 kB / 1.475 GB, free: 8.633 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5898, allocations: 0 / 1.475 GB, free: 8.633 MB / 1.17 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.0007712/0.5906, allocations: 361.5 kB / 1.476 GB, free: 8.25 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5906, allocations: 12.03 kB / 1.476 GB, free: 8.238 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.5907, allocations: 19.91 kB / 1.476 GB, free: 8.219 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.5911, allocations: 203 kB / 1.476 GB, free: 7.996 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5911, allocations: 4 kB / 1.476 GB, free: 7.992 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.5912, allocations: 12 kB / 1.476 GB, free: 7.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.5915, allocations: 220.8 kB / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5915, allocations: 4 kB / 1.476 GB, free: 7.719 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5915, allocations: 8 kB / 1.476 GB, free: 7.711 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.5915, allocations: 4 kB / 1.476 GB, free: 7.707 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.5917, allocations: 71.83 kB / 1.476 GB, free: 7.637 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.5927, allocations: 1.047 MB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5929, allocations: 173.1 kB / 1.477 GB, free: 6.352 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.5929, allocations: 84.08 kB / 1.477 GB, free: 6.266 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.5929, allocations: 79.28 kB / 1.478 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.008e-05/0.593, allocations: 113.8 kB / 1.478 GB, free: 6.066 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.593, allocations: 0 / 1.478 GB, free: 6.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001025/0.5931, allocations: 37.69 kB / 1.478 GB, free: 6.023 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.5932, allocations: 186.1 kB / 1.478 GB, free: 5.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.5934, allocations: 183.4 kB / 1.478 GB, free: 5.629 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5935, allocations: 25.7 kB / 1.478 GB, free: 5.598 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5936, allocations: 143.8 kB / 1.478 GB, free: 5.453 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.5936, allocations: 0 / 1.478 GB, free: 5.453 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.5936, allocations: 17.72 kB / 1.478 GB, free: 5.43 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5938, allocations: 322.8 kB / 1.479 GB, free: 5.105 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.5938, allocations: 7.984 kB / 1.479 GB, free: 5.098 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.5939, allocations: 178.5 kB / 1.479 GB, free: 4.871 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.594, allocations: 48.23 kB / 1.479 GB, free: 4.809 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.594, allocations: 0 / 1.479 GB, free: 4.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001857/0.5942, allocations: 85.45 kB / 1.479 GB, free: 4.719 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5942, allocations: 7.938 kB / 1.479 GB, free: 4.711 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5942, allocations: 0 / 1.479 GB, free: 4.711 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.5942, allocations: 4 kB / 1.479 GB, free: 4.707 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.5943, allocations: 12.16 kB / 1.479 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.5943, allocations: 0 / 1.479 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.5944, allocations: 8 kB / 1.479 GB, free: 4.688 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.5944, allocations: 4 kB / 1.479 GB, free: 4.684 MB / 1.17 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 0.0001688/0.5946, allocations: 205 kB / 1.479 GB, free: 4.473 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.5946, allocations: 120.8 kB / 1.479 GB, free: 4.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.5947, allocations: 121.5 kB / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-05/0.5948, allocations: 180.2 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.011e-05/0.5949, allocations: 180.4 kB / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-05/0.595, allocations: 176.3 kB / 1.48 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.5953, allocations: 404.8 kB / 1.48 GB, free: 3.238 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/0.5953, allocations: 101 kB / 1.48 GB, free: 3.133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.5954, allocations: 112.9 kB / 1.48 GB, free: 3.016 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.377e-05/0.5955, allocations: 176.3 kB / 1.481 GB, free: 2.836 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.5955, allocations: 180.2 kB / 1.481 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-05/0.5956, allocations: 188.1 kB / 1.481 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.239e-05/0.5957, allocations: 180.3 kB / 1.481 GB, free: 2.277 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.5959, allocations: 319.7 kB / 1.481 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.596, allocations: 116.9 kB / 1.482 GB, free: 1.82 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5961, allocations: 184.2 kB / 1.482 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5962, allocations: 105 kB / 1.482 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.5963, allocations: 188.2 kB / 1.482 GB, free: 1.332 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.5963, allocations: 101 kB / 1.482 GB, free: 1.227 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001338/0.5965, allocations: 135.5 kB / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5965, allocations: 0 / 1.482 GB, free: 1.094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002761/0.5967, allocations: 23.95 kB / 1.482 GB, free: 1.07 MB / 1.17 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.0001492/0.5969, allocations: 178.5 kB / 1.482 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.597, allocations: 23.86 kB / 1.482 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.597, allocations: 320 / 1.482 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.597, allocations: 4 kB / 1.482 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.5975, allocations: 475.7 kB / 1.483 GB, free: 400 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.5981, allocations: 341.2 kB / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.5982, allocations: 105.6 kB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.5983, allocations: 11.44 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of SimCode: time 5.61e-07/0.5983, allocations: 4 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of Templates: time 0.004061/0.6023, allocations: 1.471 MB / 1.485 GB, free: 14.41 MB / 1.186 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.070561190135777]