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.001678/0.001678, 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.002133/0.002133, allocations: 209.8 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.485/1.485, 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 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.941/2.941, allocations: 476 MB / 0.7699 GB, free: 4.723 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_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.002119/0.002119, allocations: 66.73 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3697, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1974/0.5671, allocations: 146.5 MB / 1.426 GB, free: 9.383 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.5731, allocations: 5.178 MB / 1.431 GB, free: 4.188 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.5733, allocations: 7.938 kB / 1.431 GB, free: 4.18 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.5738, allocations: 103.3 kB / 1.431 GB, free: 4.078 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.5741, allocations: 63.59 kB / 1.431 GB, free: 4.016 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.5743, allocations: 31.95 kB / 1.431 GB, free: 3.984 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.5746, allocations: 219 kB / 1.431 GB, free: 3.77 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.5748, allocations: 58.86 kB / 1.431 GB, free: 3.707 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.575, allocations: 99.64 kB / 1.431 GB, free: 3.609 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.5752, allocations: 67.62 kB / 1.431 GB, free: 3.543 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.5752, allocations: 12 kB / 1.431 GB, free: 3.531 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.5752, allocations: 11.94 kB / 1.431 GB, free: 3.52 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.5753, allocations: 31.92 kB / 1.431 GB, free: 3.488 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.5753, allocations: 59.67 kB / 1.431 GB, free: 3.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.5756, allocations: 164.9 kB / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5756, allocations: 0 / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5756, allocations: 0 / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.5756, allocations: 0 / 1.432 GB, free: 3.27 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.0006613/0.5762, allocations: 373.4 kB / 1.432 GB, free: 2.875 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5763, allocations: 8.031 kB / 1.432 GB, free: 2.867 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.5763, allocations: 42.55 kB / 1.432 GB, free: 2.816 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.5764, allocations: 15.91 kB / 1.432 GB, free: 2.801 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.5767, allocations: 199.9 kB / 1.432 GB, free: 2.582 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5768, allocations: 8 kB / 1.432 GB, free: 2.574 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.5768, allocations: 12 kB / 1.432 GB, free: 2.562 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.5771, allocations: 220.5 kB / 1.432 GB, free: 2.305 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5771, allocations: 0 / 1.432 GB, free: 2.305 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.5771, allocations: 12 kB / 1.432 GB, free: 2.293 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5771, allocations: 4 kB / 1.432 GB, free: 2.289 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.5772, allocations: 67.84 kB / 1.433 GB, free: 2.223 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/0.5782, allocations: 1.105 MB / 1.434 GB, free: 1.047 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.5783, allocations: 165.1 kB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.5784, allocations: 88.02 kB / 1.434 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.5784, allocations: 79.27 kB / 1.434 GB, free: 0.707 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.292e-05/0.5785, allocations: 109.8 kB / 1.434 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5785, allocations: 0 / 1.434 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 8.839e-05/0.5785, allocations: 45.59 kB / 1.434 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5786, allocations: 182.1 kB / 1.434 GB, free: 344 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.5789, allocations: 256.8 kB / 1.434 GB, free: 80 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.5789, allocations: 25.7 kB / 1.434 GB, free: 48 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5791, allocations: 140 kB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.5791, allocations: 4 kB / 1.435 GB, free: 15.9 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.5791, allocations: 17.72 kB / 1.435 GB, free: 15.88 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5793, allocations: 326.8 kB / 1.435 GB, free: 15.55 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.5793, allocations: 15.92 kB / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5794, allocations: 170.5 kB / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.5795, allocations: 52.27 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5795, allocations: 3.984 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.5797, allocations: 89.41 kB / 1.435 GB, free: 15.15 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5797, allocations: 4 kB / 1.435 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5797, allocations: 0 / 1.435 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5797, allocations: 4 kB / 1.435 GB, free: 15.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.683e-05/0.5798, allocations: 11.94 kB / 1.435 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5798, allocations: 4.156 kB / 1.435 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.5799, allocations: 23.83 kB / 1.435 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5799, allocations: 4 kB / 1.435 GB, free: 15.1 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.0001489/0.58, allocations: 209 kB / 1.436 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.5801, allocations: 124.8 kB / 1.436 GB, free: 14.76 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.5802, allocations: 117.8 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.666e-05/0.5803, allocations: 184.2 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/0.5803, allocations: 176.3 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-05/0.5804, allocations: 188.2 kB / 1.436 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.5807, allocations: 416.2 kB / 1.437 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.5808, allocations: 105 kB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.5808, allocations: 108.9 kB / 1.437 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.739e-05/0.5809, allocations: 180.3 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.213e-05/0.581, allocations: 184.2 kB / 1.437 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.819e-05/0.5811, allocations: 180.3 kB / 1.437 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.94e-05/0.5811, allocations: 176.4 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.5813, allocations: 327.6 kB / 1.438 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.5814, allocations: 120.8 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5815, allocations: 188.2 kB / 1.438 GB, free: 12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5817, allocations: 105 kB / 1.438 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.5817, allocations: 184.2 kB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.5818, allocations: 108.9 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001957/0.582, allocations: 184.5 kB / 1.439 GB, free: 11.42 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.582, allocations: 0 / 1.439 GB, free: 11.42 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002425/0.5822, allocations: 20 kB / 1.439 GB, free: 11.4 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.0004803/0.5827, allocations: 0.8242 MB / 1.44 GB, free: 10.54 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.5828, allocations: 19.94 kB / 1.44 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5828, allocations: 0 / 1.44 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.5828, allocations: 4.312 kB / 1.44 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.5836, allocations: 0.4961 MB / 1.44 GB, free: 10.02 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5857, allocations: 2.05 MB / 1.442 GB, free: 7.859 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.5858, allocations: 106.2 kB / 1.442 GB, free: 7.738 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.632e-05/0.5859, allocations: 25.5 kB / 1.442 GB, free: 7.715 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.586, allocations: 47.42 kB / 1.442 GB, free: 7.668 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/0.586, allocations: 0 / 1.442 GB, free: 7.668 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.6185, allocations: 4.664 MB / 1.447 GB, free: 3.195 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.18, allocations: 18.2 kB / 1.447 GB, free: 3.18 MB / 1.139 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/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: 19.237965649925172]