Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_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.00459/0.00459, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001091/0.001091, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 58.75 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2357, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1654/0.4012, allocations: 166.1 MB / 1.25 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00551/0.4068, allocations: 5.696 MB / 1.255 GB, free: 5.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.407, allocations: 7.938 kB / 1.255 GB, free: 5.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.4073, allocations: 95.36 kB / 1.255 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.4075, allocations: 67.55 kB / 1.255 GB, free: 5.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.4077, allocations: 31.95 kB / 1.255 GB, free: 5.332 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.408, allocations: 215.1 kB / 1.256 GB, free: 5.121 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.4082, allocations: 102.5 kB / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.4084, allocations: 99.62 kB / 1.256 GB, free: 4.922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.4085, allocations: 79.58 kB / 1.256 GB, free: 4.844 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.4085, allocations: 8 kB / 1.256 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.28e-05/0.4086, allocations: 16 kB / 1.256 GB, free: 4.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.4086, allocations: 27.91 kB / 1.256 GB, free: 4.793 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.4087, allocations: 71.62 kB / 1.256 GB, free: 4.723 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.4089, allocations: 163.3 kB / 1.256 GB, free: 4.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4089, allocations: 3.938 kB / 1.256 GB, free: 4.559 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4089, allocations: 0 / 1.256 GB, free: 4.559 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.409, allocations: 0 / 1.256 GB, free: 4.559 MB / 1.014 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.0005451/0.4095, allocations: 438.8 kB / 1.257 GB, free: 4.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4096, allocations: 8.031 kB / 1.257 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.4096, allocations: 46.56 kB / 1.257 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.4097, allocations: 19.86 kB / 1.257 GB, free: 4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.41, allocations: 250.8 kB / 1.257 GB, free: 3.715 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.41, allocations: 16.17 kB / 1.257 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.41, allocations: 12 kB / 1.257 GB, free: 3.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.4102, allocations: 168.7 kB / 1.257 GB, free: 3.492 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4103, allocations: 0 / 1.257 GB, free: 3.492 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4103, allocations: 7.984 kB / 1.257 GB, free: 3.484 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4103, allocations: 4 kB / 1.257 GB, free: 3.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4104, allocations: 75.83 kB / 1.257 GB, free: 3.406 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.4113, allocations: 1.164 MB / 1.258 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.4113, allocations: 165.1 kB / 1.258 GB, free: 1.992 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.4114, allocations: 88.02 kB / 1.259 GB, free: 1.902 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4114, allocations: 75.28 kB / 1.259 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.4115, allocations: 113.8 kB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4115, allocations: 0 / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.8e-05/0.4116, allocations: 49.55 kB / 1.259 GB, free: 1.652 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.4116, allocations: 182.1 kB / 1.259 GB, free: 1.449 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.4119, allocations: 245 kB / 1.259 GB, free: 1.203 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4119, allocations: 25.7 kB / 1.259 GB, free: 1.172 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.412, allocations: 139.9 kB / 1.259 GB, free: 1.031 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.412, allocations: 0 / 1.259 GB, free: 1.031 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.4121, allocations: 21.72 kB / 1.259 GB, free: 1.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4122, allocations: 334.8 kB / 1.26 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.4122, allocations: 4 kB / 1.26 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.4123, allocations: 67.72 kB / 1.26 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.4123, allocations: 48.22 kB / 1.26 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4123, allocations: 4 kB / 1.26 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000142/0.4125, allocations: 89.34 kB / 1.26 GB, free: 420 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4125, allocations: 8.156 kB / 1.26 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4125, allocations: 4 kB / 1.26 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4125, allocations: 0 / 1.26 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.4126, allocations: 11.94 kB / 1.26 GB, free: 396 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4126, allocations: 7.984 kB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.4127, allocations: 15.89 kB / 1.26 GB, free: 372 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.4127, allocations: 0 / 1.26 GB, free: 372 kB / 1.014 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.0001222/0.4128, allocations: 205.1 kB / 1.26 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.4129, allocations: 124.8 kB / 1.26 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4843/0.8972, allocations: 129.2 kB / 1.26 GB, free: 177.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.8973, allocations: 177.3 kB / 1.261 GB, free: 177.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.8973, allocations: 178.9 kB / 1.261 GB, free: 177.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.8973, allocations: 178.3 kB / 1.261 GB, free: 177.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.8976, allocations: 454.6 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.8977, allocations: 111 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.8977, allocations: 102.2 kB / 1.262 GB, free: 176.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/0.8977, allocations: 185.2 kB / 1.262 GB, free: 176.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.8977, allocations: 179.1 kB / 1.262 GB, free: 176.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-05/0.8978, allocations: 183.5 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/0.8978, allocations: 183.8 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.407e-05/0.8979, allocations: 316.8 kB / 1.263 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.8979, allocations: 203.1 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.898, allocations: 183.1 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.8981, allocations: 111.8 kB / 1.263 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.8981, allocations: 177.8 kB / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.8982, allocations: 107.2 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000182/0.8984, allocations: 186.2 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8984, allocations: 0 / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003151/0.8987, allocations: 20.09 kB / 1.263 GB, free: 174.6 MB / 1.014 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.000214/0.8989, allocations: 0.8216 MB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.899, allocations: 20.77 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.899, allocations: 4 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.899, allocations: 0.5625 kB / 1.264 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.8996, allocations: 0.5143 MB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.9012, allocations: 2.044 MB / 1.267 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.9013, allocations: 0.7165 MB / 1.267 GB, free: 171.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.543e-05/0.9014, allocations: 22.92 kB / 1.268 GB, free: 171.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.9015, allocations: 42.36 kB / 1.268 GB, free: 171.2 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/0.9015, allocations: 3.828 kB / 1.268 GB, free: 171.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.9233, allocations: 3.876 MB / 1.271 GB, free: 170.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/8.16, allocations: 11.28 kB / 1.271 GB, free: 170.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches