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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007807/0.007807, allocations: 96.16 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.001975/0.001975, allocations: 203.8 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.712/2.712, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 75.78 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2536, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6932/0.9469, allocations: 166.1 MB / 1.382 GB, free: 4.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005248/0.9522, allocations: 5.69 MB / 1.387 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.9523, allocations: 9.156 kB / 1.387 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.9527, allocations: 99.98 kB / 1.388 GB, free: 15.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.9529, allocations: 59.7 kB / 1.388 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.953, allocations: 42.52 kB / 1.388 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.9533, allocations: 209.2 kB / 1.388 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.9535, allocations: 92.66 kB / 1.388 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.9537, allocations: 104.3 kB / 1.388 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.9538, allocations: 74.09 kB / 1.388 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.9539, allocations: 10.34 kB / 1.388 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.9539, allocations: 8.719 kB / 1.388 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.9539, allocations: 30.64 kB / 1.388 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.954, allocations: 68.39 kB / 1.388 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.9542, allocations: 160.3 kB / 1.388 GB, free: 14.96 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9542, allocations: 1.156 kB / 1.388 GB, free: 14.96 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9542, allocations: 0 / 1.388 GB, free: 14.96 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.9542, allocations: 4 kB / 1.388 GB, free: 14.96 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.0005166/0.9548, allocations: 455.7 kB / 1.389 GB, free: 14.51 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.9548, allocations: 9.625 kB / 1.389 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.9549, allocations: 43.83 kB / 1.389 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.9549, allocations: 17.25 kB / 1.389 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.9552, allocations: 255.6 kB / 1.389 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.9552, allocations: 8.469 kB / 1.389 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.9552, allocations: 11.78 kB / 1.389 GB, free: 14.19 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.9555, allocations: 166 kB / 1.389 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.9555, allocations: 9.062 kB / 1.389 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.9555, allocations: 5.469 kB / 1.389 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9555, allocations: 4.406 kB / 1.389 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.9556, allocations: 62.84 kB / 1.389 GB, free: 14 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.9564, allocations: 1.154 MB / 1.391 GB, free: 12.85 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.9565, allocations: 174.4 kB / 1.391 GB, free: 12.67 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.9565, allocations: 84.14 kB / 1.391 GB, free: 12.58 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.9566, allocations: 80.56 kB / 1.391 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.9566, allocations: 111 kB / 1.391 GB, free: 12.39 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.9566, allocations: 0 / 1.391 GB, free: 12.39 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.035e-05/0.9567, allocations: 49.66 kB / 1.391 GB, free: 12.34 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.9568, allocations: 179.2 kB / 1.391 GB, free: 12.14 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.957, allocations: 254 kB / 1.391 GB, free: 11.96 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.957, allocations: 27.08 kB / 1.391 GB, free: 11.93 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.9571, allocations: 125.3 kB / 1.392 GB, free: 11.82 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.9571, allocations: 1.094 kB / 1.392 GB, free: 11.82 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.9572, allocations: 27.84 kB / 1.392 GB, free: 11.79 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.9573, allocations: 327.2 kB / 1.392 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.9573, allocations: 4.031 kB / 1.392 GB, free: 11.46 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.9574, allocations: 72.56 kB / 1.392 GB, free: 11.38 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.382e-05/0.9574, allocations: 56.09 kB / 1.392 GB, free: 11.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9574, allocations: 4 kB / 1.392 GB, free: 11.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001459/0.9576, allocations: 87.66 kB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.9576, allocations: 5.5 kB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9576, allocations: 2.328 kB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9576, allocations: 2.219 kB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.9577, allocations: 15.61 kB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9577, allocations: 5 kB / 1.392 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.9578, allocations: 17.42 kB / 1.392 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.9578, allocations: 6.188 kB / 1.392 GB, free: 11.23 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.000106/0.9579, allocations: 204.4 kB / 1.392 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.958, allocations: 122.4 kB / 1.392 GB, free: 10.91 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.9581, allocations: 124.8 kB / 1.393 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/0.9581, allocations: 181.4 kB / 1.393 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/0.9582, allocations: 184.3 kB / 1.393 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.755e-05/0.9582, allocations: 185.3 kB / 1.393 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.9585, allocations: 449.8 kB / 1.394 GB, free: 9.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-05/0.9585, allocations: 108.9 kB / 1.394 GB, free: 9.637 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.9585, allocations: 105.1 kB / 1.394 GB, free: 9.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-05/0.9586, allocations: 181.6 kB / 1.394 GB, free: 9.348 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.9587, allocations: 186.2 kB / 1.394 GB, free: 9.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.757e-05/0.9587, allocations: 176.3 kB / 1.394 GB, free: 8.98 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-05/0.9588, allocations: 181.4 kB / 1.394 GB, free: 8.797 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.9589, allocations: 321.8 kB / 1.395 GB, free: 8.469 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.959, allocations: 206.6 kB / 1.395 GB, free: 8.246 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.9591, allocations: 177.9 kB / 1.395 GB, free: 8.066 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.9592, allocations: 111.7 kB / 1.395 GB, free: 7.953 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.9592, allocations: 176.3 kB / 1.395 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.9593, allocations: 106 kB / 1.396 GB, free: 7.664 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000163/0.9594, allocations: 186.9 kB / 1.396 GB, free: 7.539 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9594, allocations: 0 / 1.396 GB, free: 7.539 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002574/0.9597, allocations: 23.97 kB / 1.396 GB, free: 7.535 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.0003171/0.96, allocations: 0.82 MB / 1.397 GB, free: 6.711 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.9601, allocations: 23.95 kB / 1.397 GB, free: 6.699 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9601, allocations: 4.062 kB / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.9601, allocations: 1.125 kB / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.9607, allocations: 0.5121 MB / 1.397 GB, free: 6.211 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.9625, allocations: 2.05 MB / 1.399 GB, free: 4.477 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.9627, allocations: 0.715 MB / 1.4 GB, free: 3.762 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 7.479e-05/0.9628, allocations: 30.09 kB / 1.4 GB, free: 3.746 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.9629, allocations: 38.67 kB / 1.4 GB, free: 3.715 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/0.9629, allocations: 1.406 kB / 1.4 GB, free: 3.715 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.9811, allocations: 3.88 MB / 1.404 GB, free: 1.742 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.577, allocations: 7.781 kB / 1.404 GB, free: 1.738 MB / 1.092 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