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.0008491/0.0008491, 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.001023/0.001023, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9019/0.9019, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.546e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6181/0.6181, allocations: 146.5 MB / 1.094 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.6211, allocations: 5.167 MB / 1.099 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.6212, allocations: 9.188 kB / 1.099 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.6215, allocations: 98.38 kB / 1.099 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.6217, allocations: 56.12 kB / 1.099 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.6218, allocations: 37.7 kB / 1.099 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.622, allocations: 224.5 kB / 1.099 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.6222, allocations: 55.98 kB / 1.099 GB, free: 38 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.6224, allocations: 143.1 kB / 1.099 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.6225, allocations: 55.66 kB / 1.099 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.6225, allocations: 8.219 kB / 1.099 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.6225, allocations: 11.27 kB / 1.099 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.6225, allocations: 31.64 kB / 1.099 GB, free: 37.94 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.6226, allocations: 49.08 kB / 1.099 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.6227, allocations: 163.3 kB / 1.099 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6227, allocations: 0 / 1.099 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6227, allocations: 0 / 1.099 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6227, allocations: 7.469 kB / 1.099 GB, free: 37.88 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.0004584/0.6232, allocations: 364.1 kB / 1.1 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6232, allocations: 8.469 kB / 1.1 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.6232, allocations: 47.78 kB / 1.1 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.6233, allocations: 16.53 kB / 1.1 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.6235, allocations: 200 kB / 1.1 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.6235, allocations: 9.094 kB / 1.1 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.6235, allocations: 11.59 kB / 1.1 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.6236, allocations: 218 kB / 1.1 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6237, allocations: 1.203 kB / 1.1 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.6237, allocations: 6.531 kB / 1.1 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6237, allocations: 2.281 kB / 1.1 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.6237, allocations: 68.81 kB / 1.1 GB, free: 37.1 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.6242, allocations: 1.092 MB / 1.101 GB, free: 36.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.6243, allocations: 172.5 kB / 1.102 GB, free: 35.88 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.6243, allocations: 91.7 kB / 1.102 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.6243, allocations: 75.28 kB / 1.102 GB, free: 35.72 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.6243, allocations: 108.8 kB / 1.102 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6243, allocations: 0 / 1.102 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.606e-05/0.6244, allocations: 49.25 kB / 1.102 GB, free: 35.56 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.6244, allocations: 179.2 kB / 1.102 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.6245, allocations: 255.1 kB / 1.102 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.6245, allocations: 28.55 kB / 1.102 GB, free: 35.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.6246, allocations: 130.6 kB / 1.102 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.6246, allocations: 1.719 kB / 1.102 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.6246, allocations: 25.36 kB / 1.103 GB, free: 35.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.6247, allocations: 324.7 kB / 1.103 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.6247, allocations: 15.95 kB / 1.103 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.6247, allocations: 167.9 kB / 1.103 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.6248, allocations: 54.41 kB / 1.103 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6248, allocations: 1.094 kB / 1.103 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.6249, allocations: 93.33 kB / 1.103 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6249, allocations: 8.188 kB / 1.103 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6249, allocations: 3.938 kB / 1.103 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6249, allocations: 2.969 kB / 1.103 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.6249, allocations: 4.969 kB / 1.103 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.625, allocations: 6.984 kB / 1.103 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.625, allocations: 13.08 kB / 1.103 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.625, allocations: 2.781 kB / 1.103 GB, free: 34.38 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 6.494e-05/0.6251, allocations: 215.5 kB / 1.103 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.6251, allocations: 122.2 kB / 1.103 GB, free: 34.06 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.6251, allocations: 129 kB / 1.104 GB, free: 33.94 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6251, allocations: 180.2 kB / 1.104 GB, free: 33.75 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.6252, allocations: 178.8 kB / 1.104 GB, free: 33.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.6252, allocations: 185.6 kB / 1.104 GB, free: 33.39 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.6253, allocations: 412.2 kB / 1.105 GB, free: 32.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6253, allocations: 104 kB / 1.105 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.6253, allocations: 104.9 kB / 1.105 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.6253, allocations: 178.1 kB / 1.105 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.6253, allocations: 190.4 kB / 1.105 GB, free: 32.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/0.6254, allocations: 180.3 kB / 1.105 GB, free: 32.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/0.6254, allocations: 184.5 kB / 1.105 GB, free: 32.02 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.064e-05/0.6254, allocations: 318.7 kB / 1.106 GB, free: 31.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.6254, allocations: 127.2 kB / 1.106 GB, free: 31.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.6255, allocations: 184.2 kB / 1.106 GB, free: 31.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.6255, allocations: 104.1 kB / 1.106 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.6255, allocations: 180.2 kB / 1.106 GB, free: 31.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.6255, allocations: 103.8 kB / 1.106 GB, free: 31 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.614e-05/0.6256, allocations: 186.9 kB / 1.107 GB, free: 30.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6256, allocations: 0 / 1.107 GB, free: 30.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001647/0.6258, allocations: 24.8 kB / 1.107 GB, free: 30.89 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.0001759/0.626, allocations: 0.8233 MB / 1.107 GB, free: 30.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.6261, allocations: 26.95 kB / 1.107 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6261, allocations: 0 / 1.107 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.6261, allocations: 0 / 1.107 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.6264, allocations: 0.5043 MB / 1.108 GB, free: 29.59 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.6282, allocations: 2.05 MB / 1.11 GB, free: 27.97 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.914e-05/0.6283, allocations: 106.2 kB / 1.11 GB, free: 27.89 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.382e-05/0.6283, allocations: 20.56 kB / 1.11 GB, free: 27.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.6284, allocations: 38.8 kB / 1.11 GB, free: 27.86 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.6284, allocations: 0 / 1.11 GB, free: 27.86 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.6482, allocations: 4.799 MB / 1.115 GB, free: 26.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.789, allocations: 13.2 kB / 1.115 GB, free: 26.72 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.966876140795648]