Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001952/0.001952, 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.003183/0.003183, allocations: 209.1 kB / 22.24 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.694/1.694, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.998/2.998, allocations: 475.9 MB / 0.7699 GB, free: 4.828 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.003034/0.003034, allocations: 68.11 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5145, allocations: 170 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2539/0.7684, allocations: 146.5 MB / 1.426 GB, free: 8.984 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.7787, allocations: 5.19 MB / 1.431 GB, free: 3.777 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.7791, allocations: 7.938 kB / 1.431 GB, free: 3.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.7798, allocations: 99.31 kB / 1.431 GB, free: 3.672 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.7802, allocations: 63.59 kB / 1.431 GB, free: 3.609 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.7805, allocations: 31.97 kB / 1.431 GB, free: 3.578 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006428/0.7811, allocations: 215.1 kB / 1.432 GB, free: 3.367 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.7814, allocations: 50.88 kB / 1.432 GB, free: 3.312 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.7818, allocations: 111.5 kB / 1.432 GB, free: 3.203 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.7821, allocations: 63.7 kB / 1.432 GB, free: 3.141 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.7821, allocations: 8 kB / 1.432 GB, free: 3.133 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.7822, allocations: 15.94 kB / 1.432 GB, free: 3.117 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-05/0.7823, allocations: 31.91 kB / 1.432 GB, free: 3.086 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.7824, allocations: 59.73 kB / 1.432 GB, free: 3.027 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.7827, allocations: 163.2 kB / 1.432 GB, free: 2.867 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.7828, allocations: 0 / 1.432 GB, free: 2.867 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.536e-06/0.7828, allocations: 4 kB / 1.432 GB, free: 2.863 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.7828, allocations: 0 / 1.432 GB, free: 2.863 MB / 1.123 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.0009954/0.7838, allocations: 369.4 kB / 1.432 GB, free: 2.473 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.7838, allocations: 12.03 kB / 1.432 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.7839, allocations: 15.91 kB / 1.432 GB, free: 2.445 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.7844, allocations: 195.7 kB / 1.433 GB, free: 2.23 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.7844, allocations: 8 kB / 1.433 GB, free: 2.223 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.7844, allocations: 15.98 kB / 1.433 GB, free: 2.207 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.7849, allocations: 220.5 kB / 1.433 GB, free: 1.949 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7849, allocations: 0 / 1.433 GB, free: 1.949 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.7849, allocations: 8 kB / 1.433 GB, free: 1.941 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7849, allocations: 4 kB / 1.433 GB, free: 1.938 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.7851, allocations: 67.84 kB / 1.433 GB, free: 1.871 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.7867, allocations: 1.054 MB / 1.434 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.7869, allocations: 165.1 kB / 1.434 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.787, allocations: 80.14 kB / 1.434 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.7871, allocations: 75.28 kB / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.769e-05/0.7871, allocations: 121.7 kB / 1.434 GB, free: 308 kB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.7871, allocations: 0 / 1.434 GB, free: 308 kB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 0.000125/0.7873, allocations: 33.66 kB / 1.434 GB, free: 268 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.7874, allocations: 190 kB / 1.435 GB, free: 52 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.7877, allocations: 185.2 kB / 1.435 GB, free: 15.86 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.7878, allocations: 25.7 kB / 1.435 GB, free: 15.83 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.7879, allocations: 147.8 kB / 1.435 GB, free: 15.68 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.7879, allocations: 0 / 1.435 GB, free: 15.68 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.788, allocations: 17.72 kB / 1.435 GB, free: 15.66 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0003144/0.7883, allocations: 322.8 kB / 1.435 GB, free: 15.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.7883, allocations: 4 kB / 1.435 GB, free: 15.33 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.7886, allocations: 182.5 kB / 1.435 GB, free: 15.1 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.7887, allocations: 56.25 kB / 1.435 GB, free: 15.03 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.7887, allocations: 3.938 kB / 1.435 GB, free: 15.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002485/0.789, allocations: 73.58 kB / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.789, allocations: 9.969 kB / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.789, allocations: 0 / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.7891, allocations: 7.938 kB / 1.436 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.7892, allocations: 11.98 kB / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.7892, allocations: 0 / 1.436 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.7893, allocations: 12.11 kB / 1.436 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.7893, allocations: 8 kB / 1.436 GB, free: 14.9 MB / 1.139 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.0002075/0.7895, allocations: 205 kB / 1.436 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.7896, allocations: 120.8 kB / 1.436 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.7897, allocations: 113.5 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.7898, allocations: 180.2 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001173/0.7899, allocations: 184.3 kB / 1.436 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/0.79, allocations: 180.3 kB / 1.437 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.7904, allocations: 396.8 kB / 1.437 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.539e-05/0.7905, allocations: 101 kB / 1.437 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.7905, allocations: 105 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.7906, allocations: 184.2 kB / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.7908, allocations: 184.2 kB / 1.437 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001071/0.7909, allocations: 184.2 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001043/0.791, allocations: 180.3 kB / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.7912, allocations: 307.7 kB / 1.438 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-05/0.7913, allocations: 120.9 kB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.7914, allocations: 192.1 kB / 1.438 GB, free: 11.86 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.7916, allocations: 101 kB / 1.439 GB, free: 11.76 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7917, allocations: 184.2 kB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/0.7918, allocations: 105 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000183/0.792, allocations: 135.5 kB / 1.439 GB, free: 11.33 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.792, allocations: 0 / 1.439 GB, free: 11.33 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004193/0.7924, allocations: 23.95 kB / 1.439 GB, free: 11.3 MB / 1.139 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.0002593/0.7927, allocations: 174.5 kB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.7928, allocations: 23.92 kB / 1.439 GB, free: 11.1 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7928, allocations: 0 / 1.439 GB, free: 11.1 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.7929, allocations: 0 / 1.439 GB, free: 11.1 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.7937, allocations: 471.7 kB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.7945, allocations: 335.7 kB / 1.44 GB, free: 10.28 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.7947, allocations: 101.6 kB / 1.44 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 7.888e-05/0.7948, allocations: 12.45 kB / 1.44 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.7948, allocations: 11.44 kB / 1.44 GB, free: 10.14 MB / 1.139 GB Notification: Performance of SimCode: time 5.41e-07/0.7948, allocations: 8 kB / 1.44 GB, free: 10.13 MB / 1.139 GB Notification: Performance of Templates: time 0.005689/0.8005, allocations: 0.9656 MB / 1.441 GB, free: 9.188 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.771957471966743]