Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 180.9 kB / 487.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.5 MB / 0.7824 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 103.8 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.733e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3003, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.868/5.169, allocations: 1.717 GB / 2.923 GB, free: 144.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/5.169, allocations: 82.27 kB / 2.923 GB, free: 144 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 1.15/6.318, allocations: 157.4 MB / 3.077 GB, free: 389.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/6.319, allocations: 0 / 3.077 GB, free: 389.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.609e-05/6.319, allocations: 4.391 kB / 3.077 GB, free: 389.6 MB / 1.151 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.0004807/6.319, allocations: 398.3 kB / 3.077 GB, free: 389.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/6.319, allocations: 12.03 kB / 3.077 GB, free: 389.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/6.319, allocations: 17.31 kB / 3.077 GB, free: 389.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/6.32, allocations: 250.9 kB / 3.077 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/6.32, allocations: 9.562 kB / 3.077 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/6.32, allocations: 6.938 kB / 3.077 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001415/6.32, allocations: 53.19 kB / 3.077 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/6.32, allocations: 159.8 kB / 3.078 GB, free: 389 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/6.32, allocations: 0 / 3.078 GB, free: 389 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/6.32, allocations: 1.828 kB / 3.078 GB, free: 389 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/6.32, allocations: 4.891 kB / 3.078 GB, free: 389 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/6.321, allocations: 1.109 MB / 3.079 GB, free: 388 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/6.321, allocations: 171 kB / 3.079 GB, free: 387.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/6.321, allocations: 81.2 kB / 3.079 GB, free: 387.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/6.321, allocations: 79.16 kB / 3.079 GB, free: 387.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/6.321, allocations: 108.8 kB / 3.079 GB, free: 387.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/6.321, allocations: 1.5 kB / 3.079 GB, free: 387.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 9.457e-05/6.321, allocations: 38.45 kB / 3.079 GB, free: 387.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/6.321, allocations: 103.8 kB / 3.079 GB, free: 387.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/6.322, allocations: 164.6 kB / 3.079 GB, free: 387.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/6.322, allocations: 25.7 kB / 3.079 GB, free: 387.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/6.322, allocations: 141.7 kB / 3.079 GB, free: 387.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/6.322, allocations: 1.375 kB / 3.079 GB, free: 387.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/6.322, allocations: 0 / 3.079 GB, free: 387.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/6.322, allocations: 324.3 kB / 3.08 GB, free: 386.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/6.322, allocations: 8.562 kB / 3.08 GB, free: 386.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-05/6.322, allocations: 64.25 kB / 3.08 GB, free: 386.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/6.322, allocations: 19.25 kB / 3.08 GB, free: 386.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/6.322, allocations: 0 / 3.08 GB, free: 386.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001535/6.322, allocations: 78.08 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/6.322, allocations: 6.344 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/6.322, allocations: 1.125 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/6.322, allocations: 2.375 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/6.322, allocations: 10.44 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/6.322, allocations: 5.062 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/6.322, allocations: 6.25 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/6.322, allocations: 4.156 kB / 3.08 GB, free: 386.7 MB / 1.151 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 8.324e-05/6.322, allocations: 188.9 kB / 3.08 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/6.322, allocations: 114 kB / 3.08 GB, free: 386.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/6.322, allocations: 119.2 kB / 3.08 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.914e-05/6.323, allocations: 180.4 kB / 3.081 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.975e-05/6.323, allocations: 180.8 kB / 3.081 GB, free: 386 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-05/6.323, allocations: 190.5 kB / 3.081 GB, free: 385.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/6.323, allocations: 423.7 kB / 3.081 GB, free: 385.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/6.323, allocations: 106.9 kB / 3.081 GB, free: 385.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/6.323, allocations: 101.8 kB / 3.082 GB, free: 385.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.202e-05/6.323, allocations: 181.3 kB / 3.082 GB, free: 385 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/6.323, allocations: 187.6 kB / 3.082 GB, free: 384.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.079e-05/6.323, allocations: 180.6 kB / 3.082 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-05/6.323, allocations: 179.3 kB / 3.082 GB, free: 384.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/6.323, allocations: 316.6 kB / 3.083 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/6.323, allocations: 192.3 kB / 3.083 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/6.323, allocations: 180 kB / 3.083 GB, free: 383.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/6.323, allocations: 105.3 kB / 3.083 GB, free: 383.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/6.323, allocations: 181 kB / 3.083 GB, free: 383.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/6.323, allocations: 102.7 kB / 3.083 GB, free: 383.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.043e-05/6.324, allocations: 128.1 kB / 3.083 GB, free: 383.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/6.324, allocations: 0 / 3.083 GB, free: 383.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004245/6.324, allocations: 79.59 kB / 3.083 GB, free: 383.3 MB / 1.151 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.001669/6.326, allocations: 1.158 MB / 3.085 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000102/6.326, allocations: 19.42 kB / 3.085 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/6.326, allocations: 0 / 3.085 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/6.326, allocations: 1.031 kB / 3.085 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/6.326, allocations: 0.5381 MB / 3.085 GB, free: 382.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/6.326, allocations: 222.5 kB / 3.085 GB, free: 382.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/6.327, allocations: 0.7216 MB / 3.086 GB, free: 381.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.716e-05/6.327, allocations: 10.25 kB / 3.086 GB, free: 381.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/6.327, allocations: 11.69 kB / 3.086 GB, free: 381.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/6.327, allocations: 3.781 kB / 3.086 GB, free: 381.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01533/6.342, allocations: 6.611 MB / 3.093 GB, free: 381.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches