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") [: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 9.1.1-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001112/0.001112, allocations: 173.3 kB / 487 MB, free: 5.355 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.447/1.447, allocations: 221.3 MB / 0.7819 GB, free: 1.301 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.0009964/0.0009965, allocations: 97.83 kB / 0.9213 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.785e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2938, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.175/4.469, allocations: 1.717 GB / 2.922 GB, free: 143 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/4.469, allocations: 75.91 kB / 2.922 GB, free: 142.9 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: time 0.9367/5.406, allocations: 159 MB / 3.077 GB, free: 390.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.464e-05/5.406, allocations: 8.734 kB / 3.077 GB, free: 390.2 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.0004116/5.406, allocations: 393.3 kB / 3.078 GB, free: 389.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/5.406, allocations: 12.72 kB / 3.078 GB, free: 389.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/5.407, allocations: 20.2 kB / 3.078 GB, free: 389.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/5.407, allocations: 243.9 kB / 3.078 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/5.407, allocations: 10.28 kB / 3.078 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/5.407, allocations: 5.031 kB / 3.078 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/5.407, allocations: 56.7 kB / 3.078 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/5.407, allocations: 159.8 kB / 3.078 GB, free: 389.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/5.407, allocations: 0 / 3.078 GB, free: 389.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/5.407, allocations: 0 / 3.078 GB, free: 389.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/5.407, allocations: 10.5 kB / 3.078 GB, free: 389.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/5.408, allocations: 1.107 MB / 3.079 GB, free: 388.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/5.408, allocations: 175.8 kB / 3.08 GB, free: 388.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/5.408, allocations: 80.14 kB / 3.08 GB, free: 388.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/5.408, allocations: 78.53 kB / 3.08 GB, free: 388.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/5.408, allocations: 106.6 kB / 3.08 GB, free: 388.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/5.408, allocations: 3.5 kB / 3.08 GB, free: 388.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.128e-05/5.408, allocations: 39.39 kB / 3.08 GB, free: 388 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/5.408, allocations: 102.8 kB / 3.08 GB, free: 387.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/5.409, allocations: 162.3 kB / 3.08 GB, free: 387.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/5.409, allocations: 25.7 kB / 3.08 GB, free: 387.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/5.409, allocations: 143.1 kB / 3.08 GB, free: 387.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/5.409, allocations: 0 / 3.08 GB, free: 387.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/5.409, allocations: 3.938 kB / 3.08 GB, free: 387.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/5.409, allocations: 325.3 kB / 3.081 GB, free: 387.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/5.409, allocations: 7.094 kB / 3.081 GB, free: 387.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/5.409, allocations: 64.08 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/5.409, allocations: 19.03 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/5.409, allocations: 3.25 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000141/5.409, allocations: 72.94 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.409, allocations: 2.781 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/5.409, allocations: 2.531 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/5.409, allocations: 2.188 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/5.409, allocations: 9.188 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/5.409, allocations: 3.688 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/5.409, allocations: 10.77 kB / 3.081 GB, free: 387.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/5.409, allocations: 3.094 kB / 3.081 GB, free: 387.3 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 7.513e-05/5.409, allocations: 183 kB / 3.081 GB, free: 387.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/5.409, allocations: 115.1 kB / 3.081 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/5.409, allocations: 123 kB / 3.081 GB, free: 386.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.59e-05/5.409, allocations: 179 kB / 3.081 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.186e-05/5.409, allocations: 186.4 kB / 3.082 GB, free: 386.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/5.409, allocations: 180.1 kB / 3.082 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/5.41, allocations: 420.9 kB / 3.082 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/5.41, allocations: 107.7 kB / 3.082 GB, free: 385.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/5.41, allocations: 107.3 kB / 3.082 GB, free: 385.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.209e-05/5.41, allocations: 178.1 kB / 3.082 GB, free: 385.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/5.41, allocations: 180 kB / 3.083 GB, free: 385.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.965e-05/5.41, allocations: 182.4 kB / 3.083 GB, free: 385.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-05/5.41, allocations: 186.5 kB / 3.083 GB, free: 385 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.742e-05/5.41, allocations: 309.4 kB / 3.083 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/5.41, allocations: 189.6 kB / 3.083 GB, free: 384.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/5.41, allocations: 190.7 kB / 3.084 GB, free: 384.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/5.41, allocations: 104.2 kB / 3.084 GB, free: 384.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/5.41, allocations: 179.8 kB / 3.084 GB, free: 384 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/5.41, allocations: 104.8 kB / 3.084 GB, free: 383.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.277e-05/5.41, allocations: 126.9 kB / 3.084 GB, free: 383.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003576/5.411, allocations: 82.86 kB / 3.084 GB, free: 383.8 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.001217/5.412, allocations: 1.162 MB / 3.085 GB, free: 383.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.464e-05/5.412, allocations: 19.41 kB / 3.085 GB, free: 383.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/5.412, allocations: 0 / 3.085 GB, free: 383.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/5.412, allocations: 0 / 3.085 GB, free: 383.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/5.412, allocations: 0.5405 MB / 3.086 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/5.413, allocations: 216.1 kB / 3.086 GB, free: 382.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/5.413, allocations: 0.7295 MB / 3.087 GB, free: 382.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/5.413, allocations: 0 / 3.087 GB, free: 382.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01119/5.424, allocations: 6.656 MB / 3.093 GB, free: 381.8 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