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.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 181.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009773/0.0009773, allocations: 87.73 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 14.05 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2661, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.297/5.563, allocations: 2.18 GB / 3.081 GB, free: 250.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/5.563, allocations: 86.23 kB / 3.081 GB, free: 250.1 MB / 0.8855 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.2866/5.85, allocations: 163.9 MB / 3.241 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.013e-06/5.85, allocations: 0 / 3.241 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.873e-05/5.85, allocations: 4 kB / 3.241 GB, free: 182.2 MB / 0.8855 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.0003604/5.85, allocations: 415 kB / 3.241 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/5.85, allocations: 12.03 kB / 3.241 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/5.85, allocations: 15.81 kB / 3.241 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/5.85, allocations: 260.6 kB / 3.241 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/5.85, allocations: 8.234 kB / 3.241 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/5.85, allocations: 15.94 kB / 3.241 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/5.851, allocations: 179.8 kB / 3.242 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/5.851, allocations: 4 kB / 3.242 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/5.851, allocations: 8 kB / 3.242 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/5.851, allocations: 4 kB / 3.242 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/5.851, allocations: 67.83 kB / 3.242 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/5.851, allocations: 1.164 MB / 3.243 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/5.851, allocations: 169.3 kB / 3.243 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/5.851, allocations: 75.28 kB / 3.243 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/5.851, allocations: 113.8 kB / 3.243 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/5.851, allocations: 0 / 3.243 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 6.643e-05/5.852, allocations: 49.5 kB / 3.243 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/5.852, allocations: 182.1 kB / 3.243 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/5.852, allocations: 224.1 kB / 3.244 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/5.852, allocations: 25.7 kB / 3.244 GB, free: 179 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/5.852, allocations: 131.9 kB / 3.244 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/5.852, allocations: 4 kB / 3.244 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/5.852, allocations: 4 kB / 3.244 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/5.852, allocations: 322.8 kB / 3.244 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/5.852, allocations: 23.86 kB / 3.244 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/5.852, allocations: 63.72 kB / 3.244 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/5.852, allocations: 16.81 kB / 3.244 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/5.852, allocations: 0 / 3.244 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001256/5.852, allocations: 89.38 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/5.852, allocations: 4 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/5.852, allocations: 3.984 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/5.852, allocations: 4 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/5.852, allocations: 8 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/5.852, allocations: 4.094 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/5.852, allocations: 15.84 kB / 3.244 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/5.852, allocations: 7.953 kB / 3.244 GB, free: 178.3 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/5.852, allocations: 205.8 kB / 3.244 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/5.853, allocations: 116.8 kB / 3.245 GB, free: 178 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/5.853, allocations: 121.8 kB / 3.245 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/5.853, allocations: 180.3 kB / 3.245 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/5.853, allocations: 188.3 kB / 3.245 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/5.853, allocations: 184.2 kB / 3.245 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/5.853, allocations: 449.1 kB / 3.246 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/5.853, allocations: 104.9 kB / 3.246 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/5.853, allocations: 105 kB / 3.246 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.266e-05/5.853, allocations: 184.3 kB / 3.246 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/5.853, allocations: 180.2 kB / 3.246 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.864e-05/5.853, allocations: 176.3 kB / 3.246 GB, free: 176 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.601e-05/5.853, allocations: 185.5 kB / 3.247 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.027e-05/5.853, allocations: 327.5 kB / 3.247 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/5.853, allocations: 197.9 kB / 3.247 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/5.853, allocations: 188.2 kB / 3.247 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/5.853, allocations: 104.9 kB / 3.247 GB, free: 175 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/5.853, allocations: 176.4 kB / 3.247 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/5.853, allocations: 116.9 kB / 3.248 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001161/5.853, allocations: 184.5 kB / 3.248 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/5.853, allocations: 0 / 3.248 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004903/5.854, allocations: 95.98 kB / 3.248 GB, free: 174.4 MB / 0.8855 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 (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.0009553/5.855, allocations: 1.01 MB / 3.249 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/5.855, allocations: 23.94 kB / 3.249 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.855, allocations: 0 / 3.249 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/5.855, allocations: 4 kB / 3.249 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/5.855, allocations: 0.5777 MB / 3.249 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/5.856, allocations: 343.7 kB / 3.25 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/5.856, allocations: 0.7244 MB / 3.25 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.751e-05/5.856, allocations: 25.53 kB / 3.25 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/5.856, allocations: 11.44 kB / 3.251 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/5.856, allocations: 4 kB / 3.251 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.01615/5.872, allocations: 14.18 MB / 3.264 GB, free: 157.5 MB / 0.8855 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