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.001706/0.001706, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002017/0.002017, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.196/3.196, allocations: 0.49 GB / 0.7916 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] 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.001989/0.001989, allocations: 72.22 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4239, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2179/0.6418, allocations: 169.5 MB / 1.486 GB, free: 9.102 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006784/0.6486, allocations: 5.743 MB / 1.492 GB, free: 3.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.6489, allocations: 19.88 kB / 1.492 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.6493, allocations: 91.31 kB / 1.492 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.6495, allocations: 55.61 kB / 1.492 GB, free: 3.176 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.6497, allocations: 35.95 kB / 1.492 GB, free: 3.141 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.65, allocations: 211.2 kB / 1.492 GB, free: 2.934 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.6502, allocations: 70.62 kB / 1.492 GB, free: 2.863 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.6505, allocations: 103.6 kB / 1.493 GB, free: 2.762 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.6506, allocations: 75.62 kB / 1.493 GB, free: 2.688 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.6507, allocations: 12 kB / 1.493 GB, free: 2.676 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.6507, allocations: 8 kB / 1.493 GB, free: 2.668 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.6508, allocations: 31.86 kB / 1.493 GB, free: 2.637 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.6508, allocations: 67.67 kB / 1.493 GB, free: 2.57 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.6511, allocations: 163.2 kB / 1.493 GB, free: 2.41 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.6511, allocations: 0 / 1.493 GB, free: 2.41 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6511, allocations: 4 kB / 1.493 GB, free: 2.406 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.6511, allocations: 0 / 1.493 GB, free: 2.406 MB / 1.186 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.0007666/0.6519, allocations: 454.5 kB / 1.493 GB, free: 1.914 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.652, allocations: 11.98 kB / 1.493 GB, free: 1.902 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.652, allocations: 46.55 kB / 1.493 GB, free: 1.848 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.6521, allocations: 15.91 kB / 1.493 GB, free: 1.832 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.6525, allocations: 260.7 kB / 1.494 GB, free: 1.539 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.6525, allocations: 8 kB / 1.494 GB, free: 1.531 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.6526, allocations: 12 kB / 1.494 GB, free: 1.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.6529, allocations: 169.4 kB / 1.494 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.6529, allocations: 0 / 1.494 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6529, allocations: 8 kB / 1.494 GB, free: 1.316 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.6529, allocations: 4 kB / 1.494 GB, free: 1.312 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.653, allocations: 71.83 kB / 1.494 GB, free: 1.242 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.6542, allocations: 1.152 MB / 1.495 GB, free: 12 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.6543, allocations: 169.1 kB / 1.495 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.6544, allocations: 84.08 kB / 1.495 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.6544, allocations: 83.22 kB / 1.495 GB, free: 15.67 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.403e-05/0.6545, allocations: 109.8 kB / 1.495 GB, free: 15.55 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.6545, allocations: 0 / 1.495 GB, free: 15.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 8.986e-05/0.6546, allocations: 41.61 kB / 1.495 GB, free: 15.5 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.6547, allocations: 182.1 kB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.655, allocations: 249 kB / 1.496 GB, free: 15.05 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.655, allocations: 33.64 kB / 1.496 GB, free: 15.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.6551, allocations: 135.9 kB / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.6551, allocations: 0 / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.6552, allocations: 21.72 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6554, allocations: 326.8 kB / 1.496 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.6554, allocations: 11.98 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.6555, allocations: 71.66 kB / 1.496 GB, free: 14.41 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.6555, allocations: 56.27 kB / 1.497 GB, free: 14.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6555, allocations: 0 / 1.497 GB, free: 14.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.6557, allocations: 89.39 kB / 1.497 GB, free: 14.24 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6557, allocations: 8 kB / 1.497 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6557, allocations: 3.938 kB / 1.497 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6558, allocations: 4 kB / 1.497 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.6558, allocations: 4 kB / 1.497 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.6558, allocations: 4.156 kB / 1.497 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.6559, allocations: 23.97 kB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.6559, allocations: 4 kB / 1.497 GB, free: 14.19 MB / 1.201 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.0001519/0.6561, allocations: 202.9 kB / 1.497 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6562, allocations: 132.8 kB / 1.497 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.039e-05/0.6563, allocations: 117.8 kB / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.4e-05/0.6564, allocations: 180.2 kB / 1.497 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-05/0.6565, allocations: 188.3 kB / 1.497 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.055e-05/0.6565, allocations: 180.2 kB / 1.498 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.6569, allocations: 453 kB / 1.498 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/0.657, allocations: 101 kB / 1.498 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.657, allocations: 108.9 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/0.6571, allocations: 184.3 kB / 1.498 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.6572, allocations: 176.3 kB / 1.499 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.008e-05/0.6573, allocations: 184.2 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.373e-05/0.6574, allocations: 176.3 kB / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.6576, allocations: 327.6 kB / 1.499 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6577, allocations: 198 kB / 1.499 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6578, allocations: 188.2 kB / 1.5 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.658, allocations: 105 kB / 1.5 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6581, allocations: 184.2 kB / 1.5 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/0.6581, allocations: 101 kB / 1.5 GB, free: 10.56 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001835/0.6583, allocations: 188.5 kB / 1.5 GB, free: 10.38 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6583, allocations: 0 / 1.5 GB, free: 10.38 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002825/0.6586, allocations: 24 kB / 1.5 GB, free: 10.35 MB / 1.201 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.0005457/0.6591, allocations: 0.828 MB / 1.501 GB, free: 9.492 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.6592, allocations: 19.94 kB / 1.501 GB, free: 9.473 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.6592, allocations: 0 / 1.501 GB, free: 9.473 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.6592, allocations: 4 kB / 1.501 GB, free: 9.469 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.6599, allocations: 0.4983 MB / 1.501 GB, free: 8.969 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.6623, allocations: 2.053 MB / 1.504 GB, free: 6.809 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.6627, allocations: 0.7124 MB / 1.504 GB, free: 6.07 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 7.807e-05/0.6628, allocations: 29.53 kB / 1.504 GB, free: 6.043 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.6628, allocations: 39.36 kB / 1.504 GB, free: 6.008 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/0.6628, allocations: 0 / 1.504 GB, free: 6.008 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.6916, allocations: 3.885 MB / 1.508 GB, free: 2.223 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/9.294, allocations: 17.73 kB / 1.508 GB, free: 2.211 MB / 1.201 GB " [Timeout remaining time 291] (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: 16.05975880799815]