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.001322/0.001322, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001454/0.001454, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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 3.313/3.313, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1..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.1..m_flow",fileNamePrefix="Buildings_latest_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.002007/0.002007, allocations: 71.05 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3893, allocations: 180.2 MB / 1.354 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2077/0.597, allocations: 169.7 MB / 1.52 GB, free: 13.7 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006532/0.6035, allocations: 5.785 MB / 1.525 GB, free: 7.891 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.6038, allocations: 11.88 kB / 1.525 GB, free: 7.879 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.6042, allocations: 99.3 kB / 1.526 GB, free: 7.781 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.6044, allocations: 63.61 kB / 1.526 GB, free: 7.719 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.6046, allocations: 31.95 kB / 1.526 GB, free: 7.688 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.6049, allocations: 215.1 kB / 1.526 GB, free: 7.477 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.6051, allocations: 66.78 kB / 1.526 GB, free: 7.406 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.6054, allocations: 103.6 kB / 1.526 GB, free: 7.305 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.6055, allocations: 75.56 kB / 1.526 GB, free: 7.23 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.6055, allocations: 12 kB / 1.526 GB, free: 7.219 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 3.157e-05/0.6056, allocations: 12 kB / 1.526 GB, free: 7.207 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.6056, allocations: 31.86 kB / 1.526 GB, free: 7.176 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.6057, allocations: 67.67 kB / 1.526 GB, free: 7.109 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.6059, allocations: 163.2 kB / 1.526 GB, free: 6.949 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6059, allocations: 0 / 1.526 GB, free: 6.949 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6059, allocations: 0 / 1.526 GB, free: 6.949 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.6059, allocations: 0 / 1.526 GB, free: 6.949 MB / 1.217 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.0006444/0.6066, allocations: 365.5 kB / 1.527 GB, free: 6.562 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6066, allocations: 8.031 kB / 1.527 GB, free: 6.555 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.6067, allocations: 27.84 kB / 1.527 GB, free: 6.527 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.607, allocations: 194 kB / 1.527 GB, free: 6.312 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.607, allocations: 11.94 kB / 1.527 GB, free: 6.301 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.6071, allocations: 12 kB / 1.527 GB, free: 6.289 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.6073, allocations: 165.7 kB / 1.527 GB, free: 6.098 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6073, allocations: 7.938 kB / 1.527 GB, free: 6.09 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6073, allocations: 4 kB / 1.527 GB, free: 6.086 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6074, allocations: 4 kB / 1.527 GB, free: 6.082 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.6075, allocations: 63.91 kB / 1.527 GB, free: 6.02 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.6085, allocations: 1.12 MB / 1.528 GB, free: 4.828 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.6086, allocations: 169.1 kB / 1.528 GB, free: 4.652 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.6086, allocations: 80.14 kB / 1.529 GB, free: 4.57 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.6086, allocations: 79.22 kB / 1.529 GB, free: 4.492 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.6087, allocations: 113.9 kB / 1.529 GB, free: 4.371 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.6087, allocations: 4 kB / 1.529 GB, free: 4.367 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.6088, allocations: 49.53 kB / 1.529 GB, free: 4.312 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.6089, allocations: 182.1 kB / 1.529 GB, free: 4.109 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.6092, allocations: 248.9 kB / 1.529 GB, free: 3.859 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6093, allocations: 25.7 kB / 1.529 GB, free: 3.828 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.6094, allocations: 136 kB / 1.529 GB, free: 3.691 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.6094, allocations: 16 / 1.529 GB, free: 3.691 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.6094, allocations: 17.72 kB / 1.529 GB, free: 3.668 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6096, allocations: 334.8 kB / 1.53 GB, free: 3.332 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.6097, allocations: 8 kB / 1.53 GB, free: 3.324 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.6097, allocations: 67.72 kB / 1.53 GB, free: 3.23 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.6098, allocations: 52.22 kB / 1.53 GB, free: 3.164 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6098, allocations: 0 / 1.53 GB, free: 3.164 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001978/0.61, allocations: 93.36 kB / 1.53 GB, free: 3.066 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.61, allocations: 8.094 kB / 1.53 GB, free: 3.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.61, allocations: 8 kB / 1.53 GB, free: 3.051 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6101, allocations: 0 / 1.53 GB, free: 3.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.6101, allocations: 8 kB / 1.53 GB, free: 3.043 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.6101, allocations: 3.938 kB / 1.53 GB, free: 3.039 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.6102, allocations: 23.88 kB / 1.53 GB, free: 3.016 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6103, allocations: 0 / 1.53 GB, free: 3.016 MB / 1.217 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.0001848/0.6104, allocations: 209 kB / 1.53 GB, free: 2.801 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6106, allocations: 132.9 kB / 1.53 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.6107, allocations: 133.5 kB / 1.53 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/0.6108, allocations: 176.3 kB / 1.531 GB, free: 2.348 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/0.6109, allocations: 180.2 kB / 1.531 GB, free: 2.164 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/0.611, allocations: 180.3 kB / 1.531 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.6114, allocations: 424.2 kB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.676e-05/0.6114, allocations: 112.9 kB / 1.531 GB, free: 1.398 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.6115, allocations: 101 kB / 1.532 GB, free: 1.293 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.673e-05/0.6116, allocations: 180.2 kB / 1.532 GB, free: 1.109 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.6117, allocations: 176.3 kB / 1.532 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.682e-05/0.6118, allocations: 184.2 kB / 1.532 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.57e-05/0.6119, allocations: 180.2 kB / 1.532 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.6121, allocations: 327.7 kB / 1.533 GB, free: 220 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.6122, allocations: 124.8 kB / 1.533 GB, free: 88 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.6123, allocations: 176.3 kB / 1.533 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.6125, allocations: 108.9 kB / 1.533 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.6126, allocations: 180.3 kB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.6126, allocations: 108.9 kB / 1.533 GB, free: 15.5 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000214/0.6129, allocations: 184.5 kB / 1.533 GB, free: 15.31 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6129, allocations: 0 / 1.533 GB, free: 15.31 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003135/0.6132, allocations: 20 kB / 1.533 GB, free: 15.29 MB / 1.232 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.0002012/0.6134, allocations: 174.5 kB / 1.534 GB, free: 15.11 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.6135, allocations: 20 kB / 1.534 GB, free: 15.09 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6135, allocations: 4 kB / 1.534 GB, free: 15.09 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.6135, allocations: 0 / 1.534 GB, free: 15.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.6143, allocations: 0.5094 MB / 1.534 GB, free: 14.57 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.615, allocations: 349.3 kB / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.6154, allocations: 0.7203 MB / 1.535 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.6155, allocations: 15.44 kB / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of SimCode: time 2.8e-07/0.6155, allocations: 0 / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of Templates: time 0.004471/0.6199, allocations: 2.03 MB / 1.537 GB, free: 11.41 MB / 1.232 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.952016297000227]