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.233/2.233, allocations: 390.5 MB / 398 MB, free: 10.98 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.001292/0.001292, allocations: 176.3 kB / 491.2 MB, free: 1.617 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.587/1.587, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001054/0.001054, allocations: 95.88 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.815e-05/1.817e-05, allocations: 1.562 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4215, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.342, allocations: 1.718 GB / 2.93 GB, free: 120.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/5.342, allocations: 79.89 kB / 2.93 GB, free: 120.4 MB / 1.151 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 1.142/6.483, allocations: 157.4 MB / 3.084 GB, free: 389.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/6.483, allocations: 0 / 3.084 GB, free: 389.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.761e-05/6.484, allocations: 7.297 kB / 3.084 GB, free: 389.9 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.0005761/6.484, allocations: 394.5 kB / 3.084 GB, free: 389.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/6.484, allocations: 11.64 kB / 3.084 GB, free: 389.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/6.484, allocations: 17.09 kB / 3.084 GB, free: 389.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/6.485, allocations: 259.4 kB / 3.084 GB, free: 389.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/6.485, allocations: 9.906 kB / 3.084 GB, free: 389.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/6.485, allocations: 7.281 kB / 3.084 GB, free: 389.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001768/6.485, allocations: 49.19 kB / 3.085 GB, free: 389.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/6.485, allocations: 157 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/6.486, allocations: 0 / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/6.486, allocations: 1.125 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/6.486, allocations: 4.5 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/6.487, allocations: 1.105 MB / 3.086 GB, free: 388.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/6.487, allocations: 169.2 kB / 3.086 GB, free: 388 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/6.487, allocations: 84.02 kB / 3.086 GB, free: 388 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/6.487, allocations: 75.28 kB / 3.086 GB, free: 387.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/6.487, allocations: 114.7 kB / 3.086 GB, free: 387.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/6.487, allocations: 1.188 kB / 3.086 GB, free: 387.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.000133/6.487, allocations: 47.94 kB / 3.086 GB, free: 387.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/6.487, allocations: 103.8 kB / 3.086 GB, free: 387.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/6.487, allocations: 155.4 kB / 3.086 GB, free: 387.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/6.487, allocations: 26.77 kB / 3.086 GB, free: 387.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/6.488, allocations: 138.8 kB / 3.087 GB, free: 387.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/6.488, allocations: 0 / 3.087 GB, free: 387.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/6.488, allocations: 1 kB / 3.087 GB, free: 387.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/6.488, allocations: 323.3 kB / 3.087 GB, free: 387.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/6.488, allocations: 11.84 kB / 3.087 GB, free: 387.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/6.488, allocations: 63.62 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/6.488, allocations: 19.09 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/6.488, allocations: 4.641 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002068/6.488, allocations: 75.02 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/6.488, allocations: 5.531 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/6.488, allocations: 1.031 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/6.488, allocations: 5.812 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/6.488, allocations: 10.53 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/6.488, allocations: 5.734 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/6.488, allocations: 9.031 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/6.488, allocations: 6.188 kB / 3.087 GB, free: 387 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 9.296e-05/6.488, allocations: 178.5 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/6.488, allocations: 111 kB / 3.087 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/6.489, allocations: 125.1 kB / 3.088 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-05/6.489, allocations: 181.1 kB / 3.088 GB, free: 386.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-05/6.489, allocations: 179.5 kB / 3.088 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.354e-05/6.489, allocations: 181.2 kB / 3.088 GB, free: 386 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/6.489, allocations: 426.8 kB / 3.088 GB, free: 385.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/6.489, allocations: 102.4 kB / 3.089 GB, free: 385.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/6.489, allocations: 105.6 kB / 3.089 GB, free: 385.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.633e-05/6.489, allocations: 177.2 kB / 3.089 GB, free: 385.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/6.489, allocations: 180.7 kB / 3.089 GB, free: 385 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.36e-05/6.489, allocations: 184.3 kB / 3.089 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.154e-05/6.489, allocations: 179.1 kB / 3.089 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/6.489, allocations: 319.1 kB / 3.09 GB, free: 384.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/6.49, allocations: 198.9 kB / 3.09 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/6.49, allocations: 177.4 kB / 3.09 GB, free: 384 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/6.49, allocations: 105.6 kB / 3.09 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/6.49, allocations: 181.5 kB / 3.09 GB, free: 383.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/6.49, allocations: 101.9 kB / 3.09 GB, free: 383.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001179/6.49, allocations: 138 kB / 3.091 GB, free: 383.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.49, allocations: 0 / 3.091 GB, free: 383.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005047/6.49, allocations: 75.36 kB / 3.091 GB, free: 383.5 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.002319/6.493, allocations: 1.157 MB / 3.092 GB, free: 383.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001216/6.493, allocations: 19.77 kB / 3.092 GB, free: 383.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/6.493, allocations: 0 / 3.092 GB, free: 383.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/6.493, allocations: 1.938 kB / 3.092 GB, free: 383.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/6.493, allocations: 0.5382 MB / 3.092 GB, free: 382.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/6.494, allocations: 222 kB / 3.092 GB, free: 382.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/6.494, allocations: 0.7246 MB / 3.093 GB, free: 381.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 8.259e-05/6.494, allocations: 13.16 kB / 3.093 GB, free: 381.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/6.494, allocations: 11.38 kB / 3.093 GB, free: 381.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/6.494, allocations: 0 / 3.093 GB, free: 381.8 MB / 1.151 GB Notification: Performance of Templates: time 0.0166/6.511, allocations: 6.62 MB / 3.1 GB, free: 380.9 MB / 1.151 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