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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.206/1.206, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 192 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.0007724/0.0007721, allocations: 79.22 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.212e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1704, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.465/3.635, allocations: 2.181 GB / 3.065 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/3.635, allocations: 79.95 kB / 3.065 GB, free: 224.4 MB / 0.8698 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: time 0.259/3.894, allocations: 163.2 MB / 3.225 GB, free: 57.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.76e-05/3.894, allocations: 4 kB / 3.225 GB, free: 57.34 MB / 0.8698 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.000302/3.895, allocations: 402.3 kB / 3.225 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/3.895, allocations: 8.031 kB / 3.225 GB, free: 56.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/3.895, allocations: 15.81 kB / 3.225 GB, free: 56.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/3.895, allocations: 250.6 kB / 3.225 GB, free: 56.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/3.895, allocations: 4 kB / 3.225 GB, free: 56.58 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/3.895, allocations: 4 kB / 3.225 GB, free: 56.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.318e-05/3.895, allocations: 48.45 kB / 3.225 GB, free: 56.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/3.895, allocations: 167.5 kB / 3.226 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/3.895, allocations: 3.938 kB / 3.226 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/3.895, allocations: 0 / 3.226 GB, free: 56.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/3.895, allocations: 4 kB / 3.226 GB, free: 56.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/3.896, allocations: 1.118 MB / 3.227 GB, free: 55.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/3.896, allocations: 165.1 kB / 3.227 GB, free: 54.97 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/3.896, allocations: 80.14 kB / 3.227 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/3.896, allocations: 79.28 kB / 3.227 GB, free: 54.81 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/3.896, allocations: 117.8 kB / 3.227 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/3.896, allocations: 3.938 kB / 3.227 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.312e-05/3.896, allocations: 33.61 kB / 3.227 GB, free: 54.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/3.896, allocations: 102.8 kB / 3.227 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/3.896, allocations: 158.7 kB / 3.227 GB, free: 54.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/3.896, allocations: 29.69 kB / 3.227 GB, free: 54.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/3.896, allocations: 135.5 kB / 3.228 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/3.896, allocations: 224 / 3.228 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/3.896, allocations: 0 / 3.228 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/3.896, allocations: 326.7 kB / 3.228 GB, free: 53.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/3.896, allocations: 7.984 kB / 3.228 GB, free: 53.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/3.896, allocations: 71.67 kB / 3.228 GB, free: 53.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/3.896, allocations: 15.98 kB / 3.228 GB, free: 53.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/3.896, allocations: 0 / 3.228 GB, free: 53.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/3.896, allocations: 65.53 kB / 3.228 GB, free: 53.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/3.896, allocations: 12.16 kB / 3.228 GB, free: 53.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/3.896, allocations: 0 / 3.228 GB, free: 53.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/3.896, allocations: 7.938 kB / 3.228 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/3.897, allocations: 7.984 kB / 3.228 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/3.897, allocations: 4 kB / 3.228 GB, free: 53.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/3.897, allocations: 11.84 kB / 3.228 GB, free: 53.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/3.897, allocations: 0 / 3.228 GB, free: 53.62 MB / 0.8698 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 4.85e-05/3.897, allocations: 180.3 kB / 3.228 GB, free: 53.44 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/3.897, allocations: 116.8 kB / 3.228 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/3.897, allocations: 117.5 kB / 3.228 GB, free: 53.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/3.897, allocations: 180.8 kB / 3.229 GB, free: 53.01 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/3.897, allocations: 184.2 kB / 3.229 GB, free: 52.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/3.897, allocations: 176.3 kB / 3.229 GB, free: 52.64 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/3.897, allocations: 429.7 kB / 3.229 GB, free: 52.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/3.897, allocations: 108.9 kB / 3.23 GB, free: 52.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/3.897, allocations: 101 kB / 3.23 GB, free: 51.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/3.897, allocations: 177.6 kB / 3.23 GB, free: 51.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/3.897, allocations: 184.2 kB / 3.23 GB, free: 51.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.14e-05/3.897, allocations: 180.4 kB / 3.23 GB, free: 51.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.37e-05/3.897, allocations: 188.2 kB / 3.23 GB, free: 51.22 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.909e-05/3.897, allocations: 315.6 kB / 3.231 GB, free: 50.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/3.897, allocations: 190 kB / 3.231 GB, free: 50.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/3.897, allocations: 180.2 kB / 3.231 GB, free: 50.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/3.897, allocations: 101.2 kB / 3.231 GB, free: 50.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/3.897, allocations: 192.2 kB / 3.231 GB, free: 50.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/3.897, allocations: 109 kB / 3.231 GB, free: 50.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.185e-05/3.897, allocations: 132.2 kB / 3.231 GB, free: 49.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002998/3.898, allocations: 79.77 kB / 3.232 GB, free: 49.87 MB / 0.8698 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.000833/3.899, allocations: 1.159 MB / 3.233 GB, free: 48.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.862e-05/3.899, allocations: 19.94 kB / 3.233 GB, free: 48.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/3.899, allocations: 0 / 3.233 GB, free: 48.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/3.899, allocations: 3.938 kB / 3.233 GB, free: 48.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/3.899, allocations: 0.5344 MB / 3.233 GB, free: 48.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/3.899, allocations: 214.9 kB / 3.233 GB, free: 47.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/3.899, allocations: 0.7309 MB / 3.234 GB, free: 47.15 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/3.899, allocations: 0 / 3.234 GB, free: 47.15 MB / 0.8698 GB Notification: Performance of Templates: time 0.01672/3.916, allocations: 6.63 MB / 3.241 GB, free: 40.53 MB / 0.8698 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