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.001823/0.001823, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001822/0.001822, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.797 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.487/3.487, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.003363/0.003363, allocations: 71.12 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.548, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.232/0.78, allocations: 146.5 MB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006484/0.7864, allocations: 5.182 MB / 1.474 GB, free: 9.59 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.7867, allocations: 7.938 kB / 1.474 GB, free: 9.582 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.7872, allocations: 99.31 kB / 1.474 GB, free: 9.484 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.7875, allocations: 51.61 kB / 1.474 GB, free: 9.434 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.7876, allocations: 43.89 kB / 1.474 GB, free: 9.391 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.788, allocations: 215.1 kB / 1.474 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.7882, allocations: 54.86 kB / 1.474 GB, free: 9.125 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.7885, allocations: 111.6 kB / 1.474 GB, free: 9.016 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.7887, allocations: 71.56 kB / 1.474 GB, free: 8.945 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.7887, allocations: 12 kB / 1.474 GB, free: 8.934 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.7887, allocations: 8 kB / 1.474 GB, free: 8.926 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.7888, allocations: 31.86 kB / 1.474 GB, free: 8.895 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.7889, allocations: 59.72 kB / 1.474 GB, free: 8.836 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.7891, allocations: 159.3 kB / 1.475 GB, free: 8.68 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.7891, allocations: 0 / 1.475 GB, free: 8.68 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.063e-06/0.7891, allocations: 0 / 1.475 GB, free: 8.68 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.7891, allocations: 0 / 1.475 GB, free: 8.68 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.0007701/0.7899, allocations: 379 kB / 1.475 GB, free: 8.281 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.79, allocations: 15.91 kB / 1.475 GB, free: 8.266 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.79, allocations: 15.91 kB / 1.475 GB, free: 8.25 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.7904, allocations: 188.8 kB / 1.475 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.7904, allocations: 12 kB / 1.475 GB, free: 8.027 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.7905, allocations: 16 kB / 1.475 GB, free: 8.012 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.7908, allocations: 228.8 kB / 1.475 GB, free: 7.746 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7908, allocations: 3.938 kB / 1.475 GB, free: 7.742 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.7908, allocations: 4 kB / 1.475 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.7908, allocations: 4 kB / 1.475 GB, free: 7.734 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.791, allocations: 67.91 kB / 1.475 GB, free: 7.668 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.792, allocations: 1.043 MB / 1.476 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.7921, allocations: 169.1 kB / 1.477 GB, free: 6.391 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.7921, allocations: 84.14 kB / 1.477 GB, free: 6.305 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.7922, allocations: 75.28 kB / 1.477 GB, free: 6.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/0.7923, allocations: 121.7 kB / 1.477 GB, free: 6.102 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7923, allocations: 0 / 1.477 GB, free: 6.102 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 9.535e-05/0.7924, allocations: 41.69 kB / 1.477 GB, free: 6.055 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.7925, allocations: 186 kB / 1.477 GB, free: 5.848 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.7927, allocations: 179.5 kB / 1.477 GB, free: 5.664 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.7927, allocations: 25.7 kB / 1.477 GB, free: 5.633 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.7928, allocations: 139.8 kB / 1.477 GB, free: 5.492 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.7928, allocations: 4 kB / 1.477 GB, free: 5.488 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.7929, allocations: 21.72 kB / 1.477 GB, free: 5.461 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.793, allocations: 322.8 kB / 1.478 GB, free: 5.137 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.793, allocations: 4 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.7932, allocations: 174.5 kB / 1.478 GB, free: 4.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.7932, allocations: 48.22 kB / 1.478 GB, free: 4.848 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7932, allocations: 0 / 1.478 GB, free: 4.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.7934, allocations: 81.47 kB / 1.478 GB, free: 4.762 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7934, allocations: 12.09 kB / 1.478 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7934, allocations: 4 kB / 1.478 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7935, allocations: 0 / 1.478 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.7935, allocations: 11.98 kB / 1.478 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7935, allocations: 0 / 1.478 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.7936, allocations: 8.125 kB / 1.478 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.7936, allocations: 8 kB / 1.478 GB, free: 4.719 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.0001596/0.7938, allocations: 213 kB / 1.478 GB, free: 4.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.7939, allocations: 112.9 kB / 1.478 GB, free: 4.383 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.933e-05/0.7939, allocations: 121.5 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.63e-05/0.794, allocations: 188.2 kB / 1.479 GB, free: 4.062 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-05/0.7941, allocations: 176.3 kB / 1.479 GB, free: 3.883 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.969e-05/0.7942, allocations: 184.1 kB / 1.479 GB, free: 3.695 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.7945, allocations: 396.8 kB / 1.479 GB, free: 3.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-05/0.7946, allocations: 104.9 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.7946, allocations: 101 kB / 1.48 GB, free: 3.055 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.622e-05/0.7947, allocations: 176.3 kB / 1.48 GB, free: 2.875 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.7948, allocations: 192.1 kB / 1.48 GB, free: 2.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.486e-05/0.7949, allocations: 176.3 kB / 1.48 GB, free: 2.5 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.385e-05/0.795, allocations: 180.2 kB / 1.48 GB, free: 2.316 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.7952, allocations: 319.7 kB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.7953, allocations: 124.8 kB / 1.481 GB, free: 1.852 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7954, allocations: 184.2 kB / 1.481 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7955, allocations: 108.9 kB / 1.481 GB, free: 1.551 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.7956, allocations: 176.3 kB / 1.481 GB, free: 1.371 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.7957, allocations: 105 kB / 1.481 GB, free: 1.262 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001209/0.7958, allocations: 135.5 kB / 1.481 GB, free: 1.129 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7958, allocations: 3.938 kB / 1.481 GB, free: 1.125 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002516/0.796, allocations: 23.95 kB / 1.481 GB, free: 1.102 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.0001566/0.7962, allocations: 170.5 kB / 1.482 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.7963, allocations: 23.98 kB / 1.482 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7963, allocations: 3.938 kB / 1.482 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.7963, allocations: 0 / 1.482 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.7968, allocations: 475.7 kB / 1.482 GB, free: 440 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.7974, allocations: 311.5 kB / 1.482 GB, free: 100 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.7975, allocations: 105.9 kB / 1.482 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.632e-05/0.7976, allocations: 16.45 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.7976, allocations: 11.44 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of SimCode: time 3.01e-07/0.7976, allocations: 0 / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of Templates: time 0.004064/0.8017, allocations: 0.9773 MB / 1.483 GB, free: 14.99 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/jenkins/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: 10.901128524914384]