Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 73.89 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3795, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2567/0.6362, allocations: 166.1 MB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008416/0.6446, allocations: 5.711 MB / 1.231 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.6449, allocations: 4 kB / 1.231 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.6455, allocations: 91.31 kB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.6457, allocations: 59.61 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.6459, allocations: 35.91 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.6463, allocations: 219.1 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.6466, allocations: 90.61 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.6469, allocations: 95.64 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.6471, allocations: 75.62 kB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.6471, allocations: 8 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.6471, allocations: 12 kB / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.6472, allocations: 27.92 kB / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.6473, allocations: 71.61 kB / 1.232 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.6476, allocations: 155.5 kB / 1.232 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6476, allocations: 4 kB / 1.232 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6476, allocations: 3.938 kB / 1.232 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6477, allocations: 0 / 1.232 GB, free: 1.172 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.0007224/0.6484, allocations: 442.7 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6484, allocations: 12.03 kB / 1.233 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.6485, allocations: 46.55 kB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.6486, allocations: 15.81 kB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.649, allocations: 234.7 kB / 1.233 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.649, allocations: 15.94 kB / 1.233 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.649, allocations: 12 kB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.6494, allocations: 160.5 kB / 1.233 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6494, allocations: 15.86 kB / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6494, allocations: 4 kB / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.6494, allocations: 11.94 kB / 1.233 GB, free: 96 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.6496, allocations: 71.89 kB / 1.233 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6509, allocations: 1.152 MB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.651, allocations: 165.1 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.651, allocations: 88.08 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.6511, allocations: 83.28 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.6511, allocations: 105.8 kB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.6511, allocations: 0 / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.000114/0.6513, allocations: 45.45 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.351e-05/0.6514, allocations: 178.1 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.6517, allocations: 253 kB / 1.235 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.6518, allocations: 25.7 kB / 1.235 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.6519, allocations: 135.8 kB / 1.235 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.6519, allocations: 0 / 1.235 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.652, allocations: 21.72 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6521, allocations: 326.8 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.6522, allocations: 11.98 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.6523, allocations: 67.72 kB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.6524, allocations: 52.27 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6524, allocations: 0 / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002193/0.6526, allocations: 93.3 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6526, allocations: 10.03 kB / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6526, allocations: 0 / 1.236 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6527, allocations: 4 kB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.6528, allocations: 4 kB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6528, allocations: 7.938 kB / 1.236 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.6529, allocations: 15.78 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.6529, allocations: 4 kB / 1.236 GB, free: 12.99 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.0001602/0.6531, allocations: 211 kB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6532, allocations: 120.9 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.6533, allocations: 121.8 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.713e-05/0.6534, allocations: 184.3 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.241e-05/0.6535, allocations: 188.2 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-05/0.6535, allocations: 176.3 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.6539, allocations: 457 kB / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-05/0.654, allocations: 109 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.6541, allocations: 105 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.084e-05/0.6542, allocations: 184.2 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.6543, allocations: 176.3 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.99e-05/0.6543, allocations: 184.3 kB / 1.238 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.653e-05/0.6544, allocations: 180.2 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.6546, allocations: 331.4 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.6548, allocations: 197.9 kB / 1.239 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.6549, allocations: 184.3 kB / 1.239 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6551, allocations: 104.9 kB / 1.239 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.6552, allocations: 180.3 kB / 1.239 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.6552, allocations: 108.9 kB / 1.239 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002514/0.6555, allocations: 180.5 kB / 1.24 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6555, allocations: 0 / 1.24 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004573/0.6559, allocations: 24 kB / 1.24 GB, free: 9.152 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.0004768/0.6564, allocations: 0.8247 MB / 1.24 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.6566, allocations: 19.94 kB / 1.24 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6566, allocations: 0 / 1.24 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.6566, allocations: 320 / 1.24 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.6575, allocations: 0.5059 MB / 1.241 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.6603, allocations: 2.043 MB / 1.243 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.6608, allocations: 0.7124 MB / 1.244 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.6609, allocations: 21.53 kB / 1.244 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.6611, allocations: 47.42 kB / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.6611, allocations: 0 / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.6933, allocations: 3.829 MB / 1.247 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.937, allocations: 3.094 kB / 1.247 GB, free: 1.066 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches