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.007157/0.007157, allocations: 100.1 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.001798/0.001798, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.19/2.19, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 55.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6996, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1799/0.8795, allocations: 166.1 MB / 1.25 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005756/0.8853, allocations: 5.696 MB / 1.255 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.8855, allocations: 8 kB / 1.255 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.8859, allocations: 95.31 kB / 1.255 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.8862, allocations: 55.61 kB / 1.255 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.8863, allocations: 47.81 kB / 1.255 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.8867, allocations: 211.1 kB / 1.256 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.8869, allocations: 87.14 kB / 1.256 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.8871, allocations: 107.6 kB / 1.256 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.8873, allocations: 67.66 kB / 1.256 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.8873, allocations: 12 kB / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.8873, allocations: 8 kB / 1.256 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.8874, allocations: 27.91 kB / 1.256 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.744e-05/0.8875, allocations: 75.55 kB / 1.256 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.8877, allocations: 159.4 kB / 1.256 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8877, allocations: 4 kB / 1.256 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8877, allocations: 0 / 1.256 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.118e-06/0.8877, allocations: 4 kB / 1.256 GB, free: 1.016 MB / 0.9825 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.0005493/0.8882, allocations: 442.9 kB / 1.257 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.8883, allocations: 8.031 kB / 1.257 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.8883, allocations: 42.56 kB / 1.257 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.8884, allocations: 23.75 kB / 1.257 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.8887, allocations: 258.6 kB / 1.257 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.8887, allocations: 4.234 kB / 1.257 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.8887, allocations: 12 kB / 1.257 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.889, allocations: 172.7 kB / 1.257 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.889, allocations: 0 / 1.257 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.889, allocations: 8 kB / 1.257 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.889, allocations: 4 kB / 1.257 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.8892, allocations: 71.83 kB / 1.257 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.89, allocations: 1.148 MB / 1.258 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.8901, allocations: 173.1 kB / 1.258 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.8901, allocations: 88.08 kB / 1.259 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.8902, allocations: 75.28 kB / 1.259 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.8902, allocations: 113.8 kB / 1.259 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8902, allocations: 0 / 1.259 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.98e-05/0.8903, allocations: 41.52 kB / 1.259 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.8904, allocations: 178.1 kB / 1.259 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.8906, allocations: 256.9 kB / 1.259 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.8906, allocations: 29.7 kB / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.8907, allocations: 131.8 kB / 1.259 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-06/0.8907, allocations: 4 kB / 1.259 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.8908, allocations: 21.72 kB / 1.259 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.8909, allocations: 326.8 kB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.8909, allocations: 8 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.891, allocations: 67.72 kB / 1.26 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.283e-05/0.891, allocations: 60.16 kB / 1.26 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.891, allocations: 0 / 1.26 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001501/0.8912, allocations: 85.31 kB / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8912, allocations: 8 kB / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.8912, allocations: 0 / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8913, allocations: 8.031 kB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.8913, allocations: 8.125 kB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8913, allocations: 7.984 kB / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.8914, allocations: 12 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.8914, allocations: 8 kB / 1.26 GB, free: 12.82 MB / 0.9981 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.0001085/0.8915, allocations: 209 kB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.8916, allocations: 128.7 kB / 1.26 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.8917, allocations: 117.8 kB / 1.26 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-05/0.8917, allocations: 180.2 kB / 1.261 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-05/0.8918, allocations: 184.3 kB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.227e-05/0.8918, allocations: 184.2 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.8921, allocations: 453.1 kB / 1.261 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/0.8921, allocations: 101 kB / 1.261 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.8922, allocations: 104.9 kB / 1.261 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/0.8922, allocations: 180.3 kB / 1.262 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.8923, allocations: 188.2 kB / 1.262 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-05/0.8923, allocations: 180.4 kB / 1.262 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.074e-05/0.8924, allocations: 184.2 kB / 1.262 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.8925, allocations: 319.6 kB / 1.262 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.8926, allocations: 201.8 kB / 1.263 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.8927, allocations: 180.3 kB / 1.263 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.8928, allocations: 108.9 kB / 1.263 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.8929, allocations: 180.2 kB / 1.263 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.8929, allocations: 105 kB / 1.263 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001588/0.8931, allocations: 180.5 kB / 1.263 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8931, allocations: 0 / 1.263 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002565/0.8933, allocations: 24 kB / 1.263 GB, free: 8.992 MB / 0.9981 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.0003594/0.8937, allocations: 0.828 MB / 1.264 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.69e-05/0.8938, allocations: 24.17 kB / 1.264 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8938, allocations: 4.062 kB / 1.264 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.8938, allocations: 0 / 1.264 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.8944, allocations: 0.5039 MB / 1.265 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.8962, allocations: 2.04 MB / 1.267 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.8965, allocations: 0.7202 MB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.162e-05/0.8965, allocations: 25.53 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.8966, allocations: 43.61 kB / 1.268 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.8966, allocations: 3.938 kB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.9158, allocations: 3.867 MB / 1.271 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/8.156, allocations: 7.984 kB / 1.271 GB, free: 0.8594 MB / 0.9981 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