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.001382/0.001382, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001857/0.001857, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.984 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.774/2.774, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.00205/0.00205, allocations: 68.48 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2036/0.5434, allocations: 169.7 MB / 1.449 GB, free: 1.27 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006496/0.5499, allocations: 5.797 MB / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.5502, allocations: 7.938 kB / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.5506, allocations: 99.31 kB / 1.455 GB, free: 11.35 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.5508, allocations: 55.59 kB / 1.455 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.551, allocations: 47.89 kB / 1.455 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.5513, allocations: 207.2 kB / 1.455 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.5515, allocations: 58.86 kB / 1.455 GB, free: 10.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.5517, allocations: 103.6 kB / 1.455 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.5519, allocations: 75.69 kB / 1.455 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.5519, allocations: 8 kB / 1.455 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.5519, allocations: 12 kB / 1.455 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.552, allocations: 31.8 kB / 1.455 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.5521, allocations: 75.61 kB / 1.456 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.5523, allocations: 155.3 kB / 1.456 GB, free: 10.53 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5523, allocations: 4 kB / 1.456 GB, free: 10.52 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5523, allocations: 0 / 1.456 GB, free: 10.52 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5523, allocations: 3.938 kB / 1.456 GB, free: 10.52 MB / 1.154 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.0006492/0.553, allocations: 371.2 kB / 1.456 GB, free: 10.13 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.553, allocations: 8.031 kB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.5531, allocations: 50.48 kB / 1.456 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.5531, allocations: 15.91 kB / 1.456 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.5534, allocations: 199.1 kB / 1.456 GB, free: 9.828 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.5534, allocations: 16 kB / 1.456 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.5535, allocations: 12 kB / 1.456 GB, free: 9.801 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.5537, allocations: 169.1 kB / 1.456 GB, free: 9.605 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5537, allocations: 3.938 kB / 1.456 GB, free: 9.602 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5537, allocations: 8 kB / 1.456 GB, free: 9.594 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5538, allocations: 4 kB / 1.456 GB, free: 9.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5539, allocations: 63.89 kB / 1.457 GB, free: 9.527 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.5548, allocations: 1.112 MB / 1.458 GB, free: 8.344 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5549, allocations: 173.1 kB / 1.458 GB, free: 8.164 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.555, allocations: 88.08 kB / 1.458 GB, free: 8.074 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.555, allocations: 75.28 kB / 1.458 GB, free: 8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.5551, allocations: 109.8 kB / 1.458 GB, free: 7.883 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5551, allocations: 0 / 1.458 GB, free: 7.883 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.178e-05/0.5552, allocations: 41.61 kB / 1.458 GB, free: 7.836 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5553, allocations: 186 kB / 1.458 GB, free: 7.629 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.5556, allocations: 256.9 kB / 1.459 GB, free: 7.371 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5556, allocations: 25.7 kB / 1.459 GB, free: 7.34 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5557, allocations: 136 kB / 1.459 GB, free: 7.203 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.5557, allocations: 0 / 1.459 GB, free: 7.203 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.5557, allocations: 25.66 kB / 1.459 GB, free: 7.172 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5559, allocations: 326.8 kB / 1.459 GB, free: 6.844 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.5559, allocations: 7.984 kB / 1.459 GB, free: 6.836 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.556, allocations: 71.72 kB / 1.459 GB, free: 6.738 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.5561, allocations: 52.27 kB / 1.459 GB, free: 6.672 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5561, allocations: 0 / 1.459 GB, free: 6.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001812/0.5563, allocations: 93.39 kB / 1.459 GB, free: 6.574 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5563, allocations: 6.188 kB / 1.459 GB, free: 6.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5563, allocations: 0 / 1.459 GB, free: 6.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5563, allocations: 4 kB / 1.459 GB, free: 6.566 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.5564, allocations: 12.16 kB / 1.459 GB, free: 6.555 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5564, allocations: 4 kB / 1.459 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.5565, allocations: 15.84 kB / 1.459 GB, free: 6.535 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.5565, allocations: 4 kB / 1.459 GB, free: 6.531 MB / 1.154 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.0001524/0.5566, allocations: 213 kB / 1.459 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.5567, allocations: 120.8 kB / 1.46 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.852e-05/0.5568, allocations: 129.7 kB / 1.46 GB, free: 6.055 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.684e-05/0.5569, allocations: 184.3 kB / 1.46 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.223e-05/0.557, allocations: 184.3 kB / 1.46 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.372e-05/0.557, allocations: 184.2 kB / 1.46 GB, free: 5.492 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.5574, allocations: 420.2 kB / 1.461 GB, free: 5.031 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-05/0.5574, allocations: 108.9 kB / 1.461 GB, free: 4.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.5575, allocations: 105 kB / 1.461 GB, free: 4.809 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.359e-05/0.5575, allocations: 180.3 kB / 1.461 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.5576, allocations: 180.2 kB / 1.461 GB, free: 4.441 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.947e-05/0.5577, allocations: 180.4 kB / 1.461 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-05/0.5578, allocations: 188.2 kB / 1.462 GB, free: 4.066 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.5579, allocations: 319.7 kB / 1.462 GB, free: 3.73 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.558, allocations: 132.8 kB / 1.462 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.5581, allocations: 176.3 kB / 1.462 GB, free: 3.414 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5583, allocations: 104.9 kB / 1.462 GB, free: 3.305 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.5583, allocations: 180.3 kB / 1.462 GB, free: 3.121 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.5584, allocations: 105 kB / 1.463 GB, free: 3.012 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001809/0.5586, allocations: 184.5 kB / 1.463 GB, free: 2.836 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5586, allocations: 7.938 kB / 1.463 GB, free: 2.828 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002491/0.5588, allocations: 16 kB / 1.463 GB, free: 2.812 MB / 1.154 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.0004449/0.5593, allocations: 0.8242 MB / 1.464 GB, free: 1.957 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5594, allocations: 23.94 kB / 1.464 GB, free: 1.934 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5594, allocations: 0 / 1.464 GB, free: 1.934 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5594, allocations: 0 / 1.464 GB, free: 1.934 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.56, allocations: 0.5003 MB / 1.464 GB, free: 1.43 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.5622, allocations: 2.046 MB / 1.466 GB, free: 15.27 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5625, allocations: 0.728 MB / 1.467 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.5626, allocations: 21.47 kB / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.5627, allocations: 39.42 kB / 1.467 GB, free: 14.46 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/0.5627, allocations: 0 / 1.467 GB, free: 14.46 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.5952, allocations: 4.011 MB / 1.471 GB, free: 10.61 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.33, allocations: 19.56 kB / 1.471 GB, free: 10.59 MB / 1.17 GB " [Timeout remaining time 288] (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: 18.060557877000974]