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.001317/0.001317, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001542/0.001542, allocations: 211 kB / 22.24 MB, free: 4.855 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.789 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.123/3.123, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [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.002011/0.002011, allocations: 66.88 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3736, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.202/0.5756, allocations: 146.5 MB / 1.468 GB, free: 15.3 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006192/0.5818, allocations: 5.19 MB / 1.473 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.5821, allocations: 7.938 kB / 1.473 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.5825, allocations: 95.31 kB / 1.473 GB, free: 9.992 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.5827, allocations: 55.61 kB / 1.473 GB, free: 9.938 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.5829, allocations: 35.91 kB / 1.473 GB, free: 9.902 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.5832, allocations: 223.1 kB / 1.474 GB, free: 9.684 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.5834, allocations: 58.77 kB / 1.474 GB, free: 9.625 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.5837, allocations: 107.6 kB / 1.474 GB, free: 9.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.5838, allocations: 71.62 kB / 1.474 GB, free: 9.449 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.5838, allocations: 8 kB / 1.474 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/0.5839, allocations: 11.94 kB / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.5839, allocations: 27.92 kB / 1.474 GB, free: 9.402 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.584, allocations: 63.66 kB / 1.474 GB, free: 9.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.5842, allocations: 159.3 kB / 1.474 GB, free: 9.184 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5842, allocations: 0 / 1.474 GB, free: 9.184 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5842, allocations: 0 / 1.474 GB, free: 9.184 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5842, allocations: 0 / 1.474 GB, free: 9.184 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.0006563/0.5849, allocations: 377.4 kB / 1.474 GB, free: 8.785 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5849, allocations: 8.031 kB / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.585, allocations: 50.48 kB / 1.475 GB, free: 8.719 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.585, allocations: 19.91 kB / 1.475 GB, free: 8.699 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.5854, allocations: 188.8 kB / 1.475 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5854, allocations: 16 kB / 1.475 GB, free: 8.473 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.5854, allocations: 12 kB / 1.475 GB, free: 8.461 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.5857, allocations: 215.9 kB / 1.475 GB, free: 8.207 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5857, allocations: 3.938 kB / 1.475 GB, free: 8.203 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.5857, allocations: 8 kB / 1.475 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5857, allocations: 0 / 1.475 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.5859, allocations: 71.89 kB / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.587, allocations: 1.093 MB / 1.476 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.5872, allocations: 169.1 kB / 1.476 GB, free: 6.785 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.5872, allocations: 84.08 kB / 1.476 GB, free: 6.699 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.5873, allocations: 79.28 kB / 1.476 GB, free: 6.621 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/0.5873, allocations: 113.8 kB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5873, allocations: 0 / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001006/0.5874, allocations: 49.64 kB / 1.477 GB, free: 6.445 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5875, allocations: 182 kB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.5878, allocations: 260.8 kB / 1.477 GB, free: 5.973 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.5878, allocations: 25.7 kB / 1.477 GB, free: 5.941 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.588, allocations: 132 kB / 1.477 GB, free: 5.809 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.588, allocations: 0 / 1.477 GB, free: 5.809 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.588, allocations: 21.66 kB / 1.477 GB, free: 5.781 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5882, allocations: 330.8 kB / 1.477 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.5882, allocations: 11.98 kB / 1.477 GB, free: 5.438 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.5883, allocations: 170.5 kB / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.5884, allocations: 44.23 kB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5884, allocations: 0 / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.5886, allocations: 101.4 kB / 1.478 GB, free: 5.055 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5886, allocations: 6.031 kB / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.5886, allocations: 0 / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5886, allocations: 8.031 kB / 1.478 GB, free: 5.043 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.5887, allocations: 12 kB / 1.478 GB, free: 5.031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5887, allocations: 0 / 1.478 GB, free: 5.031 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.5888, allocations: 15.83 kB / 1.478 GB, free: 5.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5888, allocations: 4 kB / 1.478 GB, free: 5.012 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.0001529/0.5889, allocations: 209.6 kB / 1.478 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.589, allocations: 120.8 kB / 1.478 GB, free: 4.672 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.292e-05/0.5891, allocations: 133.9 kB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.384e-05/0.5892, allocations: 176.3 kB / 1.478 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.314e-05/0.5893, allocations: 180.2 kB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.631e-05/0.5893, allocations: 188.2 kB / 1.479 GB, free: 3.98 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.5897, allocations: 412.2 kB / 1.479 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-05/0.5897, allocations: 104.9 kB / 1.479 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.5898, allocations: 105 kB / 1.479 GB, free: 3.309 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.635e-05/0.5898, allocations: 180.3 kB / 1.48 GB, free: 3.125 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.5899, allocations: 184.3 kB / 1.48 GB, free: 2.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.845e-05/0.59, allocations: 184.3 kB / 1.48 GB, free: 2.75 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.123e-05/0.5901, allocations: 184.2 kB / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.5903, allocations: 323.7 kB / 1.48 GB, free: 2.223 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.5904, allocations: 120.8 kB / 1.481 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.5905, allocations: 184.3 kB / 1.481 GB, free: 1.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5906, allocations: 108.9 kB / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.5907, allocations: 180.3 kB / 1.481 GB, free: 1.613 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.5908, allocations: 101 kB / 1.481 GB, free: 1.508 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001864/0.591, allocations: 192.3 kB / 1.481 GB, free: 1.32 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.591, allocations: 4 kB / 1.481 GB, free: 1.316 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002584/0.5912, allocations: 16 kB / 1.481 GB, free: 1.301 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.0004974/0.5917, allocations: 0.8281 MB / 1.482 GB, free: 452 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.5918, allocations: 23.92 kB / 1.482 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5918, allocations: 0 / 1.482 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.5918, allocations: 4 kB / 1.482 GB, free: 424 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.5925, allocations: 0.4964 MB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.5947, allocations: 2.045 MB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.5948, allocations: 106 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.642e-05/0.5949, allocations: 29.45 kB / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.595, allocations: 39.44 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.595, allocations: 0 / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.6266, allocations: 4.675 MB / 1.489 GB, free: 9.086 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.12, allocations: 0 / 1.489 GB, free: 9.086 MB / 1.186 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/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: 18.94396633375436]