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.002203/0.002203, allocations: 100.3 kB / 19.74 MB, free: 2.059 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.002514/0.002514, allocations: 216 kB / 23.04 MB, free: 4.848 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.758 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.148/3.148, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002043/0.002043, allocations: 71.05 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3789, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1928/0.5717, allocations: 146.5 MB / 1.47 GB, free: 13.86 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006006/0.5777, allocations: 5.182 MB / 1.475 GB, free: 8.664 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.578, allocations: 7.938 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.5784, allocations: 95.31 kB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.5786, allocations: 59.59 kB / 1.475 GB, free: 8.504 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.5787, allocations: 39.89 kB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.579, allocations: 219.1 kB / 1.476 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.5792, allocations: 58.86 kB / 1.476 GB, free: 8.191 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.5795, allocations: 99.62 kB / 1.476 GB, free: 8.094 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.5796, allocations: 75.56 kB / 1.476 GB, free: 8.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.5796, allocations: 12 kB / 1.476 GB, free: 8.008 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.5796, allocations: 8 kB / 1.476 GB, free: 8 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.5797, allocations: 31.86 kB / 1.476 GB, free: 7.969 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.5798, allocations: 59.67 kB / 1.476 GB, free: 7.91 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.58, allocations: 163.3 kB / 1.476 GB, free: 7.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.58, allocations: 0 / 1.476 GB, free: 7.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/0.58, allocations: 4 kB / 1.476 GB, free: 7.746 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.58, allocations: 0 / 1.476 GB, free: 7.746 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.0006105/0.5806, allocations: 369.4 kB / 1.477 GB, free: 7.355 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.5807, allocations: 12.03 kB / 1.477 GB, free: 7.344 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.5807, allocations: 15.91 kB / 1.477 GB, free: 7.328 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.581, allocations: 202.6 kB / 1.477 GB, free: 7.105 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.581, allocations: 8 kB / 1.477 GB, free: 7.098 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.5811, allocations: 12 kB / 1.477 GB, free: 7.086 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.5814, allocations: 217.5 kB / 1.477 GB, free: 6.832 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5814, allocations: 7.938 kB / 1.477 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5814, allocations: 4 kB / 1.477 GB, free: 6.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5814, allocations: 4 kB / 1.477 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.5815, allocations: 63.91 kB / 1.477 GB, free: 6.754 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.5824, allocations: 1.047 MB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.5825, allocations: 169.1 kB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.5825, allocations: 84.14 kB / 1.478 GB, free: 5.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5826, allocations: 79.28 kB / 1.478 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/0.5826, allocations: 113.8 kB / 1.479 GB, free: 5.188 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.5826, allocations: 0 / 1.479 GB, free: 5.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 8.675e-05/0.5827, allocations: 41.69 kB / 1.479 GB, free: 5.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5828, allocations: 186 kB / 1.479 GB, free: 4.934 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.583, allocations: 175.5 kB / 1.479 GB, free: 4.754 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.583, allocations: 25.7 kB / 1.479 GB, free: 4.723 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5831, allocations: 147.8 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.5831, allocations: 0 / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.5832, allocations: 25.72 kB / 1.479 GB, free: 4.543 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5833, allocations: 318.8 kB / 1.479 GB, free: 4.223 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.5833, allocations: 15.94 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.5835, allocations: 170.5 kB / 1.48 GB, free: 3.988 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/0.5835, allocations: 52.22 kB / 1.48 GB, free: 3.922 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5835, allocations: 0 / 1.48 GB, free: 3.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001638/0.5837, allocations: 85.47 kB / 1.48 GB, free: 3.832 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5837, allocations: 7.938 kB / 1.48 GB, free: 3.824 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5837, allocations: 4 kB / 1.48 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.5837, allocations: 3.984 kB / 1.48 GB, free: 3.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.5838, allocations: 8 kB / 1.48 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.5838, allocations: 0 / 1.48 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.5839, allocations: 7.938 kB / 1.48 GB, free: 3.801 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5839, allocations: 7.938 kB / 1.48 GB, free: 3.793 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.0001598/0.584, allocations: 211.8 kB / 1.48 GB, free: 3.578 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.5841, allocations: 120.9 kB / 1.48 GB, free: 3.453 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.5842, allocations: 121.5 kB / 1.48 GB, free: 3.324 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/0.5842, allocations: 176.3 kB / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.5843, allocations: 184.3 kB / 1.481 GB, free: 2.957 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.528e-05/0.5844, allocations: 180.2 kB / 1.481 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.5846, allocations: 388.8 kB / 1.481 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-05/0.5847, allocations: 108.9 kB / 1.481 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.5847, allocations: 101 kB / 1.481 GB, free: 2.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.57e-05/0.5848, allocations: 184.2 kB / 1.481 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/0.5849, allocations: 184.1 kB / 1.482 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.145e-05/0.585, allocations: 184.3 kB / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.5851, allocations: 180.2 kB / 1.482 GB, free: 1.391 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.5852, allocations: 319.7 kB / 1.482 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.5853, allocations: 112.9 kB / 1.482 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.5854, allocations: 184.2 kB / 1.483 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5855, allocations: 104.9 kB / 1.483 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.5856, allocations: 192.3 kB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.5856, allocations: 101 kB / 1.483 GB, free: 348 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000124/0.5857, allocations: 135.4 kB / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5857, allocations: 0 / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002638/0.586, allocations: 23.95 kB / 1.483 GB, free: 188 kB / 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.0001541/0.5862, allocations: 182.5 kB / 1.483 GB, free: 16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.5863, allocations: 19.94 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5863, allocations: 3.938 kB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.5863, allocations: 0 / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.5868, allocations: 467.8 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.5872, allocations: 345.2 kB / 1.484 GB, free: 15.14 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.5874, allocations: 105.9 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.5874, allocations: 11.44 kB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of SimCode: time 3.1e-07/0.5874, allocations: 0 / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of Templates: time 0.00333/0.5907, allocations: 1.487 MB / 1.486 GB, free: 13.52 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: 11.882849521934986]