Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001075, allocations: 178.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008521/0.0008521, allocations: 95.64 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.45e-05, allocations: 3.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2234, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.325, allocations: 2.18 GB / 3.072 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/6.325, allocations: 88.06 kB / 3.072 GB, free: 149.3 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd - DAE generated: time 0.8911/7.216, allocations: 163.6 MB / 3.232 GB, free: 268 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/7.216, allocations: 1.625 kB / 3.232 GB, free: 268 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.865e-05/7.216, allocations: 8.375 kB / 3.232 GB, free: 268 MB / 0.8698 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.0004971/7.217, allocations: 405.9 kB / 3.232 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/7.217, allocations: 9.219 kB / 3.232 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/7.217, allocations: 18.55 kB / 3.232 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/7.217, allocations: 251.5 kB / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/7.217, allocations: 8.797 kB / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/7.218, allocations: 10.5 kB / 3.233 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/7.218, allocations: 180.3 kB / 3.233 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/7.218, allocations: 4.531 kB / 3.233 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/7.218, allocations: 7.375 kB / 3.233 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/7.218, allocations: 4.188 kB / 3.233 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/7.218, allocations: 68.58 kB / 3.233 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009979/7.219, allocations: 1.163 MB / 3.234 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/7.219, allocations: 171.3 kB / 3.234 GB, free: 266.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/7.219, allocations: 80.75 kB / 3.234 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/7.219, allocations: 75.28 kB / 3.234 GB, free: 266 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/7.219, allocations: 117.4 kB / 3.235 GB, free: 265.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/7.219, allocations: 0 / 3.235 GB, free: 265.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.526e-05/7.219, allocations: 42.97 kB / 3.235 GB, free: 265.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/7.219, allocations: 183.9 kB / 3.235 GB, free: 265.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/7.22, allocations: 222.7 kB / 3.235 GB, free: 265.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/7.22, allocations: 29.73 kB / 3.235 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/7.22, allocations: 129.8 kB / 3.235 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/7.22, allocations: 0 / 3.235 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/7.22, allocations: 4.25 kB / 3.235 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/7.22, allocations: 324.8 kB / 3.235 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/7.22, allocations: 8.344 kB / 3.235 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/7.22, allocations: 69.83 kB / 3.236 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/7.22, allocations: 19.8 kB / 3.236 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/7.22, allocations: 1.469 kB / 3.236 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/7.22, allocations: 84.59 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/7.22, allocations: 6.938 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/7.22, allocations: 6.469 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/7.22, allocations: 3.734 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/7.22, allocations: 11.45 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/7.22, allocations: 2.078 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/7.221, allocations: 18.41 kB / 3.236 GB, free: 265 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/7.221, allocations: 5.375 kB / 3.236 GB, free: 265 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/7.221, allocations: 193.4 kB / 3.236 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.123e-05/7.221, allocations: 117.3 kB / 3.236 GB, free: 264.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/7.221, allocations: 123.3 kB / 3.236 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/7.221, allocations: 180.7 kB / 3.236 GB, free: 264.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/7.221, allocations: 178.1 kB / 3.236 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/7.221, allocations: 182.8 kB / 3.237 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/7.221, allocations: 454.5 kB / 3.237 GB, free: 263.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/7.221, allocations: 106.1 kB / 3.237 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/7.221, allocations: 107.3 kB / 3.237 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.543e-05/7.221, allocations: 184.8 kB / 3.237 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/7.221, allocations: 181.4 kB / 3.238 GB, free: 263.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.229e-05/7.221, allocations: 180.4 kB / 3.238 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.256e-05/7.221, allocations: 182.5 kB / 3.238 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/7.222, allocations: 325.5 kB / 3.238 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/7.222, allocations: 197.2 kB / 3.238 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/7.222, allocations: 179.9 kB / 3.239 GB, free: 262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/7.222, allocations: 105.5 kB / 3.239 GB, free: 261.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/7.222, allocations: 185.7 kB / 3.239 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/7.222, allocations: 105 kB / 3.239 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000198/7.222, allocations: 178.8 kB / 3.239 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.91e-07/7.222, allocations: 0 / 3.239 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006188/7.223, allocations: 95.48 kB / 3.239 GB, free: 261.5 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/7.224, allocations: 1.017 MB / 3.24 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001186/7.224, allocations: 20.73 kB / 3.24 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/7.224, allocations: 0 / 3.24 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/7.224, allocations: 3.562 kB / 3.24 GB, free: 261.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/7.225, allocations: 0.5793 MB / 3.241 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/7.225, allocations: 227.6 kB / 3.241 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/7.226, allocations: 0.7214 MB / 3.242 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.392e-05/7.226, allocations: 23.77 kB / 3.242 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/7.226, allocations: 14.47 kB / 3.242 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.42e-07/7.226, allocations: 0 / 3.242 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.0304/7.256, allocations: 16.91 MB / 3.258 GB, free: 259.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches