Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007723/0.0007723, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009476/0.0009476, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.904/0.904, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.787/1.787, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.622e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.653/0.6531, allocations: 146.4 MB / 1.143 GB, free: 8.555 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004054/0.6571, allocations: 5.15 MB / 1.148 GB, free: 5.102 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.6573, allocations: 13.16 kB / 1.148 GB, free: 5.094 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.6577, allocations: 103.1 kB / 1.148 GB, free: 5.023 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.6579, allocations: 58.16 kB / 1.148 GB, free: 4.984 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.6581, allocations: 41.12 kB / 1.148 GB, free: 4.961 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.6583, allocations: 226.2 kB / 1.148 GB, free: 4.848 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.6585, allocations: 50.78 kB / 1.148 GB, free: 4.828 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.6588, allocations: 136.1 kB / 1.148 GB, free: 4.773 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.6589, allocations: 60.84 kB / 1.148 GB, free: 4.75 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.6589, allocations: 10.69 kB / 1.148 GB, free: 4.75 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.6589, allocations: 14.22 kB / 1.148 GB, free: 4.746 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.659, allocations: 30.03 kB / 1.148 GB, free: 4.727 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.659, allocations: 44.02 kB / 1.148 GB, free: 4.711 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.6593, allocations: 153.3 kB / 1.149 GB, free: 4.656 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6593, allocations: 5.031 kB / 1.149 GB, free: 4.652 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6593, allocations: 0 / 1.149 GB, free: 4.652 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6593, allocations: 0 / 1.149 GB, free: 4.652 MB / 1.01 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.0005351/0.6598, allocations: 367.8 kB / 1.149 GB, free: 4.324 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6599, allocations: 10.5 kB / 1.149 GB, free: 4.324 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.6599, allocations: 49.75 kB / 1.149 GB, free: 4.273 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6599, allocations: 21.72 kB / 1.149 GB, free: 4.262 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.6602, allocations: 192 kB / 1.149 GB, free: 4.098 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.6602, allocations: 5.047 kB / 1.149 GB, free: 4.098 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.6602, allocations: 12.67 kB / 1.149 GB, free: 4.094 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.6604, allocations: 226.2 kB / 1.149 GB, free: 3.895 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6604, allocations: 5.062 kB / 1.149 GB, free: 3.891 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6605, allocations: 13.84 kB / 1.149 GB, free: 3.883 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6605, allocations: 3.281 kB / 1.149 GB, free: 3.883 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.6606, allocations: 67.86 kB / 1.15 GB, free: 3.859 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.6613, allocations: 1.099 MB / 1.151 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.6613, allocations: 171.3 kB / 1.151 GB, free: 2.629 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.6614, allocations: 80.94 kB / 1.151 GB, free: 2.547 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.6614, allocations: 76.34 kB / 1.151 GB, free: 2.473 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.6614, allocations: 112.1 kB / 1.151 GB, free: 2.355 MB / 1.01 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.6614, allocations: 0 / 1.151 GB, free: 2.355 MB / 1.01 GB Notification: Performance of matching and sorting (n=0): time 6.965e-05/0.6615, allocations: 46.5 kB / 1.151 GB, free: 2.312 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.6616, allocations: 187.8 kB / 1.151 GB, free: 2.105 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.6618, allocations: 258.1 kB / 1.151 GB, free: 1.961 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.6618, allocations: 25.7 kB / 1.152 GB, free: 1.93 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.6619, allocations: 131.5 kB / 1.152 GB, free: 1.812 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.6619, allocations: 1.641 kB / 1.152 GB, free: 1.812 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.6619, allocations: 20.52 kB / 1.152 GB, free: 1.793 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.662, allocations: 328.9 kB / 1.152 GB, free: 1.473 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.662, allocations: 9.906 kB / 1.152 GB, free: 1.469 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.6621, allocations: 168 kB / 1.152 GB, free: 1.27 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.6622, allocations: 59.22 kB / 1.152 GB, free: 1.211 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6622, allocations: 3.938 kB / 1.152 GB, free: 1.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001311/0.6623, allocations: 85.91 kB / 1.152 GB, free: 1.152 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6623, allocations: 5.656 kB / 1.152 GB, free: 1.152 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6623, allocations: 5.031 kB / 1.152 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6623, allocations: 2.344 kB / 1.152 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.6624, allocations: 11.98 kB / 1.152 GB, free: 1.145 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.6624, allocations: 2.453 kB / 1.152 GB, free: 1.145 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.6625, allocations: 14.31 kB / 1.152 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.6625, allocations: 2.438 kB / 1.152 GB, free: 1.137 MB / 1.01 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 9.887e-05/0.6626, allocations: 211.2 kB / 1.153 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.6626, allocations: 123.1 kB / 1.153 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.6627, allocations: 134.7 kB / 1.153 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.6627, allocations: 178.8 kB / 1.153 GB, free: 0.5117 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-05/0.6628, allocations: 182.1 kB / 1.153 GB, free: 336 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/0.6628, allocations: 182.4 kB / 1.153 GB, free: 148 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.663, allocations: 413.5 kB / 1.154 GB, free: 15.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/0.663, allocations: 111 kB / 1.154 GB, free: 15.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.6631, allocations: 103 kB / 1.154 GB, free: 15.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.139e-05/0.6631, allocations: 178.3 kB / 1.154 GB, free: 15.32 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.6631, allocations: 186.9 kB / 1.154 GB, free: 15.14 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-05/0.6632, allocations: 178.4 kB / 1.154 GB, free: 14.96 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.165e-05/0.6632, allocations: 181.9 kB / 1.155 GB, free: 14.77 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.6633, allocations: 318.2 kB / 1.155 GB, free: 14.45 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.6634, allocations: 124.9 kB / 1.155 GB, free: 14.33 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.6634, allocations: 191 kB / 1.155 GB, free: 14.14 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.6635, allocations: 113.7 kB / 1.155 GB, free: 14.03 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.6636, allocations: 179.7 kB / 1.155 GB, free: 13.85 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.6636, allocations: 102.8 kB / 1.156 GB, free: 13.74 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000139/0.6637, allocations: 185.3 kB / 1.156 GB, free: 13.63 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.6637, allocations: 3.938 kB / 1.156 GB, free: 13.63 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0001643/0.6639, allocations: 19.91 kB / 1.156 GB, free: 13.63 MB / 1.026 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.000291/0.6642, allocations: 0.8145 MB / 1.157 GB, free: 12.82 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.6643, allocations: 26.11 kB / 1.157 GB, free: 12.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6643, allocations: 320 / 1.157 GB, free: 12.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.6643, allocations: 4.781 kB / 1.157 GB, free: 12.8 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.6647, allocations: 0.4985 MB / 1.157 GB, free: 12.34 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.6663, allocations: 2.061 MB / 1.159 GB, free: 10.7 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.6664, allocations: 100.4 kB / 1.159 GB, free: 10.63 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.6665, allocations: 23.23 kB / 1.159 GB, free: 10.63 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.6665, allocations: 44.2 kB / 1.159 GB, free: 10.6 MB / 1.026 GB Notification: Performance of SimCode: time 1.183e-06/0.6665, allocations: 0 / 1.159 GB, free: 10.6 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.6873, allocations: 4.782 MB / 1.164 GB, free: 9.449 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.62, allocations: 9.047 kB / 1.164 GB, free: 9.445 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.849144279956818]