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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007854/0.007854, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00227/0.00227, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.11 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6858/0.9626, allocations: 166.1 MB / 1.404 GB, free: 9.613 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005909/0.9686, allocations: 5.695 MB / 1.409 GB, free: 5 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.9687, allocations: 9.75 kB / 1.409 GB, free: 4.996 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.9691, allocations: 95.72 kB / 1.409 GB, free: 4.914 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.9692, allocations: 51.64 kB / 1.409 GB, free: 4.871 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.9694, allocations: 37.39 kB / 1.409 GB, free: 4.84 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.9696, allocations: 217.3 kB / 1.41 GB, free: 4.715 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.9698, allocations: 89.17 kB / 1.41 GB, free: 4.668 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.9701, allocations: 95.27 kB / 1.41 GB, free: 4.617 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.9702, allocations: 77.44 kB / 1.41 GB, free: 4.566 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.9702, allocations: 10.25 kB / 1.41 GB, free: 4.566 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.9703, allocations: 9.531 kB / 1.41 GB, free: 4.566 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.9703, allocations: 26.67 kB / 1.41 GB, free: 4.547 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.9704, allocations: 76.88 kB / 1.41 GB, free: 4.496 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.9706, allocations: 159.6 kB / 1.41 GB, free: 4.387 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.9706, allocations: 5.094 kB / 1.41 GB, free: 4.383 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9706, allocations: 0 / 1.41 GB, free: 4.383 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.9706, allocations: 0 / 1.41 GB, free: 4.383 MB / 1.107 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.0005752/0.9712, allocations: 452.6 kB / 1.411 GB, free: 3.938 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.9712, allocations: 9.375 kB / 1.411 GB, free: 3.938 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.9713, allocations: 46.58 kB / 1.411 GB, free: 3.887 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.9713, allocations: 18.22 kB / 1.411 GB, free: 3.879 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.9717, allocations: 260.9 kB / 1.411 GB, free: 3.617 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.9717, allocations: 9.75 kB / 1.411 GB, free: 3.613 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.9717, allocations: 11.69 kB / 1.411 GB, free: 3.609 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.972, allocations: 167.4 kB / 1.411 GB, free: 3.461 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.972, allocations: 0 / 1.411 GB, free: 3.461 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.972, allocations: 10.19 kB / 1.411 GB, free: 3.453 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.972, allocations: 3.469 kB / 1.411 GB, free: 3.453 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.9721, allocations: 82.73 kB / 1.411 GB, free: 3.41 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.973, allocations: 1.146 MB / 1.412 GB, free: 2.262 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 8.534e-05/0.9731, allocations: 174.2 kB / 1.412 GB, free: 2.082 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.9732, allocations: 85.2 kB / 1.413 GB, free: 1.996 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.9732, allocations: 79.22 kB / 1.413 GB, free: 1.918 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.9733, allocations: 106.9 kB / 1.413 GB, free: 1.805 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.9733, allocations: 1.125 kB / 1.413 GB, free: 1.805 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 7.939e-05/0.9734, allocations: 45.27 kB / 1.413 GB, free: 1.762 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.9735, allocations: 187 kB / 1.413 GB, free: 1.555 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.9737, allocations: 250.6 kB / 1.413 GB, free: 1.383 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.9738, allocations: 26.8 kB / 1.413 GB, free: 1.352 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.9739, allocations: 129.7 kB / 1.413 GB, free: 1.23 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.9739, allocations: 0 / 1.413 GB, free: 1.23 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.9739, allocations: 20.53 kB / 1.413 GB, free: 1.211 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9741, allocations: 326.3 kB / 1.414 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.9741, allocations: 13.11 kB / 1.414 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.9742, allocations: 71.19 kB / 1.414 GB, free: 0.793 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.9742, allocations: 51.58 kB / 1.414 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9742, allocations: 0 / 1.414 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001532/0.9744, allocations: 91.5 kB / 1.414 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.9744, allocations: 6.344 kB / 1.414 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9744, allocations: 1.188 kB / 1.414 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.9744, allocations: 1.281 kB / 1.414 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.9745, allocations: 11.25 kB / 1.414 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9745, allocations: 6.719 kB / 1.414 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.9746, allocations: 18.45 kB / 1.414 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.9746, allocations: 1.594 kB / 1.414 GB, free: 0.6523 MB / 1.107 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.0001324/0.9747, allocations: 205 kB / 1.414 GB, free: 464 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.9748, allocations: 124.6 kB / 1.414 GB, free: 340 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.9749, allocations: 121.5 kB / 1.414 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-05/0.975, allocations: 188.3 kB / 1.415 GB, free: 24 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.919e-05/0.9751, allocations: 189.4 kB / 1.415 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.957e-05/0.9752, allocations: 177.7 kB / 1.415 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.9755, allocations: 448.3 kB / 1.415 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-05/0.9755, allocations: 110.3 kB / 1.415 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.9756, allocations: 102.6 kB / 1.415 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.087e-05/0.9756, allocations: 184.2 kB / 1.416 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.9757, allocations: 178.8 kB / 1.416 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-05/0.9758, allocations: 189.5 kB / 1.416 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.748e-05/0.9759, allocations: 180.2 kB / 1.416 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.976, allocations: 327.3 kB / 1.417 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.9761, allocations: 198.4 kB / 1.417 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.9762, allocations: 181.5 kB / 1.417 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9764, allocations: 102.4 kB / 1.417 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.9764, allocations: 181.2 kB / 1.417 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.9765, allocations: 109.7 kB / 1.417 GB, free: 13.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001741/0.9767, allocations: 186.7 kB / 1.417 GB, free: 12.96 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9767, allocations: 0 / 1.417 GB, free: 12.96 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002489/0.9769, allocations: 27.61 kB / 1.417 GB, free: 12.95 MB / 1.123 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.0004209/0.9774, allocations: 0.8241 MB / 1.418 GB, free: 12.12 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 7.454e-05/0.9774, allocations: 24.12 kB / 1.418 GB, free: 12.11 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.9775, allocations: 0 / 1.418 GB, free: 12.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.9775, allocations: 1.094 kB / 1.418 GB, free: 12.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.9781, allocations: 0.5061 MB / 1.419 GB, free: 11.62 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.98, allocations: 2.036 MB / 1.421 GB, free: 9.906 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.9804, allocations: 0.7228 MB / 1.421 GB, free: 9.184 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.9804, allocations: 21.48 kB / 1.421 GB, free: 9.176 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.9805, allocations: 43.39 kB / 1.422 GB, free: 9.141 MB / 1.123 GB Notification: Performance of SimCode: time 2.4e-07/0.9805, allocations: 0 / 1.422 GB, free: 9.141 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/1.005, allocations: 3.877 MB / 1.425 GB, free: 7.176 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.566, allocations: 5.875 kB / 1.425 GB, free: 7.172 MB / 1.123 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 400 --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