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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.637/2.637, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001144/0.001144, allocations: 195 kB / 0.4902 GB, free: 2.281 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.826/1.826, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 100.9 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004101, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.087/5.448, allocations: 1.718 GB / 2.948 GB, free: 268.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004876/5.448, allocations: 87.95 kB / 2.948 GB, free: 268.1 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.3377/5.786, allocations: 159.7 MB / 3.104 GB, free: 104.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.296e-06/5.786, allocations: 0 / 3.104 GB, free: 104.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.578e-05/5.786, allocations: 8 kB / 3.104 GB, free: 104.8 MB / 1.167 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.000617/5.787, allocations: 420.1 kB / 3.104 GB, free: 104.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/5.787, allocations: 12.03 kB / 3.104 GB, free: 104.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/5.787, allocations: 15.81 kB / 3.104 GB, free: 104.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/5.787, allocations: 263.8 kB / 3.104 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/5.787, allocations: 4.234 kB / 3.104 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/5.787, allocations: 12 kB / 3.104 GB, free: 104 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/5.788, allocations: 175.8 kB / 3.104 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/5.788, allocations: 0 / 3.104 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/5.788, allocations: 8 kB / 3.105 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/5.788, allocations: 4 kB / 3.105 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/5.788, allocations: 71.83 kB / 3.105 GB, free: 103.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/5.789, allocations: 1.16 MB / 3.106 GB, free: 102.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/5.789, allocations: 173.1 kB / 3.106 GB, free: 102.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/5.789, allocations: 75.28 kB / 3.106 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/5.789, allocations: 118 kB / 3.106 GB, free: 102.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/5.789, allocations: 0 / 3.106 GB, free: 102.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001126/5.789, allocations: 57.39 kB / 3.106 GB, free: 102 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/5.789, allocations: 178.1 kB / 3.106 GB, free: 101.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/5.789, allocations: 220.2 kB / 3.106 GB, free: 101.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/5.789, allocations: 29.64 kB / 3.107 GB, free: 101.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/5.789, allocations: 139.9 kB / 3.107 GB, free: 101.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-06/5.789, allocations: 0 / 3.107 GB, free: 101.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/5.789, allocations: 4 kB / 3.107 GB, free: 101.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/5.79, allocations: 322.8 kB / 3.107 GB, free: 101.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/5.79, allocations: 8 kB / 3.107 GB, free: 101.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/5.79, allocations: 67.72 kB / 3.107 GB, free: 101 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/5.79, allocations: 27.92 kB / 3.107 GB, free: 101 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.79, allocations: 0 / 3.107 GB, free: 101 MB / 1.167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/5.79, allocations: 81.44 kB / 3.107 GB, free: 100.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/5.79, allocations: 4 kB / 3.107 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/5.79, allocations: 0 / 3.107 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/5.79, allocations: 12.14 kB / 3.107 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/5.79, allocations: 11.94 kB / 3.107 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/5.79, allocations: 3.953 kB / 3.107 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/5.79, allocations: 15.75 kB / 3.107 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/5.79, allocations: 4 kB / 3.107 GB, free: 100.8 MB / 1.167 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.0001033/5.79, allocations: 205.9 kB / 3.107 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/5.79, allocations: 116.8 kB / 3.107 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/5.79, allocations: 129.6 kB / 3.108 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/5.79, allocations: 180.3 kB / 3.108 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/5.79, allocations: 184.2 kB / 3.108 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/5.79, allocations: 180.2 kB / 3.108 GB, free: 99.82 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/5.791, allocations: 449.2 kB / 3.109 GB, free: 99.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/5.791, allocations: 104.9 kB / 3.109 GB, free: 99.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/5.791, allocations: 109 kB / 3.109 GB, free: 99.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.049e-05/5.791, allocations: 184.2 kB / 3.109 GB, free: 98.91 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/5.791, allocations: 176.3 kB / 3.109 GB, free: 98.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.702e-05/5.791, allocations: 180.3 kB / 3.109 GB, free: 98.55 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-05/5.791, allocations: 188.2 kB / 3.109 GB, free: 98.36 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/5.791, allocations: 324.5 kB / 3.11 GB, free: 98.02 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/5.791, allocations: 193.9 kB / 3.11 GB, free: 97.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/5.791, allocations: 184.2 kB / 3.11 GB, free: 97.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.226e-05/5.791, allocations: 112.8 kB / 3.11 GB, free: 97.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/5.791, allocations: 180.3 kB / 3.11 GB, free: 97.31 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/5.791, allocations: 112.9 kB / 3.111 GB, free: 97.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001428/5.792, allocations: 180.5 kB / 3.111 GB, free: 97.02 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/5.792, allocations: 0 / 3.111 GB, free: 97.02 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005411/5.792, allocations: 95.98 kB / 3.111 GB, free: 96.93 MB / 1.167 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.001551/5.794, allocations: 1.013 MB / 3.112 GB, free: 95.92 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000132/5.794, allocations: 19.94 kB / 3.112 GB, free: 95.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/5.794, allocations: 0 / 3.112 GB, free: 95.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/5.794, allocations: 4 kB / 3.112 GB, free: 95.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/5.794, allocations: 0.5841 MB / 3.112 GB, free: 95.31 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/5.795, allocations: 343.5 kB / 3.113 GB, free: 94.95 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/5.795, allocations: 0.7243 MB / 3.113 GB, free: 94.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001028/5.795, allocations: 33.52 kB / 3.113 GB, free: 94.16 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/5.795, allocations: 11.44 kB / 3.113 GB, free: 94.15 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/5.795, allocations: 3.938 kB / 3.113 GB, free: 94.14 MB / 1.167 GB Notification: Performance of Templates: time 0.01926/5.815, allocations: 14.17 MB / 3.127 GB, free: 79.98 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches