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.0008035/0.0008035, 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.0008117/0.0008117, allocations: 170.3 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.8809/0.8809, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.706/1.706, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.214e-05, allocations: 5.234 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6248/0.6248, allocations: 146.5 MB / 1.124 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003865/0.6287, allocations: 5.157 MB / 1.129 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.629, allocations: 13.47 kB / 1.129 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.6295, allocations: 94.44 kB / 1.129 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.6298, allocations: 66.44 kB / 1.129 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.63, allocations: 41.41 kB / 1.129 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.6303, allocations: 222.8 kB / 1.129 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.6305, allocations: 49.77 kB / 1.129 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.6308, allocations: 136.5 kB / 1.13 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.6309, allocations: 61.69 kB / 1.13 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.631, allocations: 10.66 kB / 1.13 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.631, allocations: 8.562 kB / 1.13 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.631, allocations: 35.36 kB / 1.13 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.6311, allocations: 47.53 kB / 1.13 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.6313, allocations: 154 kB / 1.13 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6313, allocations: 0 / 1.13 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6313, allocations: 3.938 kB / 1.13 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6313, allocations: 0 / 1.13 GB, free: 10.18 MB / 0.9948 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.0005499/0.6318, allocations: 367.8 kB / 1.13 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6319, allocations: 10.09 kB / 1.13 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.6319, allocations: 45 kB / 1.13 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.632, allocations: 16.84 kB / 1.13 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.6322, allocations: 197.8 kB / 1.131 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.6323, allocations: 3.938 kB / 1.131 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.6323, allocations: 16.81 kB / 1.131 GB, free: 9.621 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.6325, allocations: 218.5 kB / 1.131 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6325, allocations: 4.75 kB / 1.131 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.6325, allocations: 10.97 kB / 1.131 GB, free: 9.422 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.6325, allocations: 6.562 kB / 1.131 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.6326, allocations: 67.52 kB / 1.131 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.6333, allocations: 1.092 MB / 1.132 GB, free: 8.348 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.6334, allocations: 170.3 kB / 1.132 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.6334, allocations: 82 kB / 1.132 GB, free: 8.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.6334, allocations: 75.28 kB / 1.132 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6334, allocations: 116.7 kB / 1.132 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.6334, allocations: 0 / 1.132 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 7.534e-05/0.6335, allocations: 51.28 kB / 1.132 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.6335, allocations: 187.2 kB / 1.133 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.6338, allocations: 258.3 kB / 1.133 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.6338, allocations: 26.92 kB / 1.133 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.6338, allocations: 131.3 kB / 1.133 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.6338, allocations: 0 / 1.133 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.6339, allocations: 25.8 kB / 1.133 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.6339, allocations: 328 kB / 1.133 GB, free: 7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.6339, allocations: 11.23 kB / 1.133 GB, free: 6.996 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.634, allocations: 168.1 kB / 1.133 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.634, allocations: 57.81 kB / 1.134 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.634, allocations: 0 / 1.134 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001355/0.6342, allocations: 85.94 kB / 1.134 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6342, allocations: 6.141 kB / 1.134 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.6342, allocations: 4.875 kB / 1.134 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6342, allocations: 2.5 kB / 1.134 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.6343, allocations: 11.81 kB / 1.134 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6343, allocations: 6.078 kB / 1.134 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.6343, allocations: 14.91 kB / 1.134 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.6343, allocations: 2.719 kB / 1.134 GB, free: 6.664 MB / 0.9948 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 7.013e-05/0.6344, allocations: 207 kB / 1.134 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.6344, allocations: 117.8 kB / 1.134 GB, free: 6.352 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.6345, allocations: 128.3 kB / 1.134 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6345, allocations: 177.6 kB / 1.134 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.6345, allocations: 183.7 kB / 1.134 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6345, allocations: 182 kB / 1.135 GB, free: 5.688 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.6346, allocations: 413.1 kB / 1.135 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.6347, allocations: 116.6 kB / 1.135 GB, free: 5.148 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-06/0.6347, allocations: 103 kB / 1.135 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.6347, allocations: 178.2 kB / 1.135 GB, free: 4.863 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.6347, allocations: 186.6 kB / 1.136 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.6347, allocations: 178 kB / 1.136 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/0.6347, allocations: 182.4 kB / 1.136 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.283e-05/0.6348, allocations: 324.6 kB / 1.136 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.6348, allocations: 117 kB / 1.136 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.6349, allocations: 192.2 kB / 1.136 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.6349, allocations: 107.2 kB / 1.137 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.6349, allocations: 188.2 kB / 1.137 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6349, allocations: 107.3 kB / 1.137 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001224/0.6351, allocations: 185.2 kB / 1.137 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6351, allocations: 1.094 kB / 1.137 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000164/0.6352, allocations: 20.09 kB / 1.137 GB, free: 3.172 MB / 0.9948 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.0001711/0.6354, allocations: 0.8147 MB / 1.138 GB, free: 2.355 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.6355, allocations: 25.17 kB / 1.138 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.6355, allocations: 1.219 kB / 1.138 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.6355, allocations: 4.922 kB / 1.138 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.6359, allocations: 0.4946 MB / 1.138 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.6372, allocations: 2.065 MB / 1.14 GB, free: 256 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.777e-05/0.6373, allocations: 100.1 kB / 1.14 GB, free: 184 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.6374, allocations: 27.12 kB / 1.141 GB, free: 172 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.6374, allocations: 43.72 kB / 1.141 GB, free: 136 kB / 0.9948 GB Notification: Performance of SimCode: time 6.51e-07/0.6374, allocations: 1.156 kB / 1.141 GB, free: 136 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.6584, allocations: 4.781 MB / 1.145 GB, free: 15.02 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.724, allocations: 10.25 kB / 1.145 GB, free: 15.02 MB / 1.01 GB " [Timeout remaining time 292] (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/jenkins/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: 11.846539592370391]