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.247/2.247, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001515/0.001515, allocations: 176.1 kB / 492.3 MB, free: 0.6172 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.603/1.603, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008865/0.0008865, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.951e-05, allocations: 2.656 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3108, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.187, allocations: 1.718 GB / 2.93 GB, free: 149.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/5.187, allocations: 78.16 kB / 2.93 GB, free: 149 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.204/6.391, allocations: 159.5 MB / 3.086 GB, free: 386 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.432e-06/6.391, allocations: 3.125 kB / 3.086 GB, free: 386 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.333e-05/6.391, allocations: 2.938 kB / 3.086 GB, free: 386 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.0004326/6.392, allocations: 401 kB / 3.086 GB, free: 385.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/6.392, allocations: 10.22 kB / 3.086 GB, free: 385.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/6.392, allocations: 20 kB / 3.086 GB, free: 385.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/6.392, allocations: 253.3 kB / 3.086 GB, free: 385.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/6.392, allocations: 10.73 kB / 3.086 GB, free: 385.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/6.392, allocations: 10.12 kB / 3.086 GB, free: 385.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/6.393, allocations: 178.9 kB / 3.087 GB, free: 385.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/6.393, allocations: 1.281 kB / 3.087 GB, free: 385.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/6.393, allocations: 6.062 kB / 3.087 GB, free: 385.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/6.393, allocations: 3.031 kB / 3.087 GB, free: 385.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/6.393, allocations: 65.75 kB / 3.087 GB, free: 385.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/6.394, allocations: 1.165 MB / 3.088 GB, free: 384.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/6.394, allocations: 173.1 kB / 3.088 GB, free: 384.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/6.394, allocations: 80.14 kB / 3.088 GB, free: 384.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/6.394, allocations: 76.58 kB / 3.088 GB, free: 384 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/6.394, allocations: 109.9 kB / 3.088 GB, free: 383.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/6.394, allocations: 0 / 3.088 GB, free: 383.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.888e-05/6.394, allocations: 46.89 kB / 3.088 GB, free: 383.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/6.394, allocations: 183.9 kB / 3.088 GB, free: 383.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/6.395, allocations: 226.2 kB / 3.089 GB, free: 383.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/6.395, allocations: 29.78 kB / 3.089 GB, free: 383.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/6.395, allocations: 134.2 kB / 3.089 GB, free: 383.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/6.395, allocations: 0 / 3.089 GB, free: 383.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/6.395, allocations: 1.938 kB / 3.089 GB, free: 383.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/6.395, allocations: 330.3 kB / 3.089 GB, free: 383.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/6.395, allocations: 9.047 kB / 3.089 GB, free: 383.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/6.395, allocations: 65.53 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/6.395, allocations: 20.03 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/6.395, allocations: 1.031 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/6.395, allocations: 88.75 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/6.395, allocations: 11.59 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/6.395, allocations: 1.094 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/6.395, allocations: 2.594 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/6.395, allocations: 9.656 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/6.395, allocations: 0.9062 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/6.395, allocations: 22.22 kB / 3.089 GB, free: 383 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/6.395, allocations: 4.156 kB / 3.089 GB, free: 383 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.226e-05/6.395, allocations: 190.2 kB / 3.09 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/6.396, allocations: 118.4 kB / 3.09 GB, free: 382.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/6.396, allocations: 124.1 kB / 3.09 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/6.396, allocations: 184.4 kB / 3.09 GB, free: 382.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/6.396, allocations: 182 kB / 3.09 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/6.396, allocations: 184.4 kB / 3.09 GB, free: 382 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/6.396, allocations: 451.5 kB / 3.091 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/6.396, allocations: 102.8 kB / 3.091 GB, free: 381.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/6.396, allocations: 112 kB / 3.091 GB, free: 381.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/6.396, allocations: 179 kB / 3.091 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/6.396, allocations: 181.8 kB / 3.091 GB, free: 381 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.721e-05/6.396, allocations: 180.8 kB / 3.091 GB, free: 380.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-05/6.396, allocations: 188.3 kB / 3.092 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/6.396, allocations: 321.8 kB / 3.092 GB, free: 380.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/6.396, allocations: 200.6 kB / 3.092 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/6.396, allocations: 178.9 kB / 3.092 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/6.397, allocations: 109.5 kB / 3.092 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/6.397, allocations: 182 kB / 3.093 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/6.397, allocations: 103.6 kB / 3.093 GB, free: 379.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001776/6.397, allocations: 183.4 kB / 3.093 GB, free: 379.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.397, allocations: 0 / 3.093 GB, free: 379.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005829/6.397, allocations: 101.4 kB / 3.093 GB, free: 379.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.001599/6.399, allocations: 1.008 MB / 3.094 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001107/6.399, allocations: 27.34 kB / 3.094 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/6.399, allocations: 0 / 3.094 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-06/6.399, allocations: 4 kB / 3.094 GB, free: 379.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/6.4, allocations: 0.5827 MB / 3.095 GB, free: 378.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/6.4, allocations: 224.1 kB / 3.095 GB, free: 378.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/6.4, allocations: 0.7234 MB / 3.095 GB, free: 377.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 9.479e-05/6.4, allocations: 22.45 kB / 3.095 GB, free: 377.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/6.4, allocations: 15.84 kB / 3.095 GB, free: 377.8 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/6.4, allocations: 2.297 kB / 3.095 GB, free: 377.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03209/6.433, allocations: 16.94 MB / 3.112 GB, free: 377 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