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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0046/0.0046, allocations: 100.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 199 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 60.12 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2831, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.721/1.004, allocations: 166.1 MB / 1.382 GB, free: 3.621 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006307/1.01, allocations: 5.699 MB / 1.388 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/1.011, allocations: 8.312 kB / 1.388 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/1.011, allocations: 95.34 kB / 1.388 GB, free: 15.03 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001923/1.011, allocations: 52.3 kB / 1.388 GB, free: 14.99 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/1.011, allocations: 46.08 kB / 1.388 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000321/1.012, allocations: 212.8 kB / 1.388 GB, free: 14.83 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/1.012, allocations: 92.73 kB / 1.388 GB, free: 14.78 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/1.012, allocations: 100.2 kB / 1.389 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/1.012, allocations: 77.14 kB / 1.389 GB, free: 14.67 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/1.012, allocations: 9.656 kB / 1.389 GB, free: 14.67 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.736e-05/1.012, allocations: 10.06 kB / 1.389 GB, free: 14.67 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/1.013, allocations: 31.2 kB / 1.389 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/1.013, allocations: 67.39 kB / 1.389 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/1.013, allocations: 172.4 kB / 1.389 GB, free: 14.48 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.013, allocations: 0 / 1.389 GB, free: 14.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.383e-06/1.013, allocations: 1.281 kB / 1.389 GB, free: 14.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.013, allocations: 0 / 1.389 GB, free: 14.48 MB / 1.092 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.0006134/1.014, allocations: 443.9 kB / 1.389 GB, free: 14.05 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.014, allocations: 9.812 kB / 1.389 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/1.014, allocations: 42.66 kB / 1.389 GB, free: 14 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.014, allocations: 21.62 kB / 1.389 GB, free: 13.99 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/1.014, allocations: 260.9 kB / 1.39 GB, free: 13.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/1.014, allocations: 8.375 kB / 1.39 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/1.014, allocations: 7.938 kB / 1.39 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/1.014, allocations: 170.9 kB / 1.39 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.014, allocations: 1.219 kB / 1.39 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.014, allocations: 6.031 kB / 1.39 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.014, allocations: 3.094 kB / 1.39 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/1.015, allocations: 74.89 kB / 1.39 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/1.016, allocations: 1.153 MB / 1.391 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/1.016, allocations: 170.3 kB / 1.391 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/1.016, allocations: 85.23 kB / 1.391 GB, free: 12.11 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/1.016, allocations: 79.22 kB / 1.391 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/1.016, allocations: 107.2 kB / 1.391 GB, free: 11.92 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/1.016, allocations: 7.938 kB / 1.391 GB, free: 11.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.741e-05/1.016, allocations: 49.77 kB / 1.391 GB, free: 11.86 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.016, allocations: 179.5 kB / 1.392 GB, free: 11.66 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/1.017, allocations: 246.3 kB / 1.392 GB, free: 11.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/1.017, allocations: 26.83 kB / 1.392 GB, free: 11.46 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.017, allocations: 132.7 kB / 1.392 GB, free: 11.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-06/1.017, allocations: 1.094 kB / 1.392 GB, free: 11.34 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/1.017, allocations: 24.2 kB / 1.392 GB, free: 11.32 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.017, allocations: 331.2 kB / 1.392 GB, free: 10.99 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/1.017, allocations: 8.469 kB / 1.392 GB, free: 10.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/1.017, allocations: 67.94 kB / 1.392 GB, free: 10.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/1.017, allocations: 54.52 kB / 1.392 GB, free: 10.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.017, allocations: 0.7812 kB / 1.392 GB, free: 10.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/1.017, allocations: 88.17 kB / 1.393 GB, free: 10.78 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.017, allocations: 5.906 kB / 1.393 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.017, allocations: 5.281 kB / 1.393 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.017, allocations: 2.719 kB / 1.393 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/1.017, allocations: 11.38 kB / 1.393 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.017, allocations: 1.312 kB / 1.393 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/1.018, allocations: 21.47 kB / 1.393 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/1.018, allocations: 2.281 kB / 1.393 GB, free: 10.76 MB / 1.092 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.0001396/1.018, allocations: 204.4 kB / 1.393 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/1.018, allocations: 128.7 kB / 1.393 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/1.018, allocations: 120.8 kB / 1.393 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-05/1.018, allocations: 185.5 kB / 1.393 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.949e-05/1.018, allocations: 184.2 kB / 1.393 GB, free: 9.938 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/1.018, allocations: 177.3 kB / 1.394 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/1.018, allocations: 454.1 kB / 1.394 GB, free: 9.277 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/1.019, allocations: 110.9 kB / 1.394 GB, free: 9.164 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/1.019, allocations: 102.2 kB / 1.394 GB, free: 9.059 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.354e-05/1.019, allocations: 185.6 kB / 1.394 GB, free: 8.871 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/1.019, allocations: 176.3 kB / 1.395 GB, free: 8.691 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/1.019, allocations: 185.6 kB / 1.395 GB, free: 8.504 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.598e-05/1.019, allocations: 181.4 kB / 1.395 GB, free: 8.32 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/1.019, allocations: 323 kB / 1.395 GB, free: 7.992 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.019, allocations: 202.2 kB / 1.395 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.019, allocations: 185.4 kB / 1.396 GB, free: 7.586 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/1.02, allocations: 103.2 kB / 1.396 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/1.02, allocations: 185.4 kB / 1.396 GB, free: 7.293 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/1.02, allocations: 109 kB / 1.396 GB, free: 7.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001824/1.02, allocations: 182.4 kB / 1.396 GB, free: 7.055 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 1.125 kB / 1.396 GB, free: 7.055 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000256/1.02, allocations: 19.44 kB / 1.396 GB, free: 7.055 MB / 1.092 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.0005238/1.021, allocations: 0.8328 MB / 1.397 GB, free: 6.219 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 8.415e-05/1.021, allocations: 20.11 kB / 1.397 GB, free: 6.211 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.021, allocations: 0 / 1.397 GB, free: 6.211 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/1.021, allocations: 3.938 kB / 1.397 GB, free: 6.207 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/1.022, allocations: 0.5078 MB / 1.397 GB, free: 5.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/1.024, allocations: 2.037 MB / 1.399 GB, free: 4.012 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/1.024, allocations: 0.7223 MB / 1.4 GB, free: 3.289 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 6.845e-05/1.024, allocations: 17.36 kB / 1.4 GB, free: 3.285 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/1.024, allocations: 43.7 kB / 1.4 GB, free: 3.25 MB / 1.092 GB Notification: Performance of SimCode: time 3.1e-07/1.024, allocations: 4 kB / 1.4 GB, free: 3.246 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/1.05, allocations: 3.872 MB / 1.404 GB, free: 1.285 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/9.103, allocations: 6.781 kB / 1.404 GB, free: 1.281 MB / 1.092 GB (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 50 --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) 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) Reference file matches