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") [: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 10.0.0-master/package.mo): time 1.998/1.998, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001109/0.001109, allocations: 170.5 kB / 490.8 MB, free: 1.902 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.402/1.402, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0009333/0.0009333, allocations: 90.67 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.784e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2948, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.871/4.166, allocations: 1.718 GB / 2.929 GB, free: 155.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/4.167, allocations: 79.95 kB / 2.929 GB, free: 155.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: time 0.9652/5.132, allocations: 159.1 MB / 3.085 GB, free: 385 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.159e-05/5.132, allocations: 5.312 kB / 3.085 GB, free: 385 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.00049/5.133, allocations: 392.4 kB / 3.085 GB, free: 384.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/5.133, allocations: 10.62 kB / 3.085 GB, free: 384.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/5.133, allocations: 20.62 kB / 3.085 GB, free: 384.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/5.133, allocations: 253 kB / 3.085 GB, free: 384.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/5.133, allocations: 3.938 kB / 3.085 GB, free: 384.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/5.133, allocations: 11.72 kB / 3.085 GB, free: 384.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/5.133, allocations: 52.39 kB / 3.085 GB, free: 384.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/5.134, allocations: 159.2 kB / 3.085 GB, free: 384.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/5.134, allocations: 2.625 kB / 3.085 GB, free: 384.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/5.134, allocations: 3.969 kB / 3.085 GB, free: 384.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/5.134, allocations: 3.875 kB / 3.085 GB, free: 384.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/5.134, allocations: 1.111 MB / 3.087 GB, free: 383.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/5.135, allocations: 168.8 kB / 3.087 GB, free: 383.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/5.135, allocations: 83.89 kB / 3.087 GB, free: 383.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/5.135, allocations: 78.66 kB / 3.087 GB, free: 383.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/5.135, allocations: 109.8 kB / 3.087 GB, free: 383 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/5.135, allocations: 0 / 3.087 GB, free: 383 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 9.221e-05/5.135, allocations: 33.48 kB / 3.087 GB, free: 382.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/5.135, allocations: 106.7 kB / 3.087 GB, free: 382.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/5.135, allocations: 160.2 kB / 3.087 GB, free: 382.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/5.135, allocations: 29.55 kB / 3.087 GB, free: 382.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/5.135, allocations: 126.4 kB / 3.087 GB, free: 382.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/5.135, allocations: 3.938 kB / 3.087 GB, free: 382.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/5.135, allocations: 0 / 3.087 GB, free: 382.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/5.135, allocations: 321 kB / 3.088 GB, free: 382.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/5.135, allocations: 10.78 kB / 3.088 GB, free: 382.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/5.135, allocations: 66.72 kB / 3.088 GB, free: 382.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/5.135, allocations: 22.42 kB / 3.088 GB, free: 382.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.135, allocations: 3.906 kB / 3.088 GB, free: 382.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001503/5.135, allocations: 64.12 kB / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/5.135, allocations: 3.844 kB / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/5.135, allocations: 3.781 kB / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/5.135, allocations: 0 / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/5.136, allocations: 11.55 kB / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/5.136, allocations: 3.562 kB / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/5.136, allocations: 10 kB / 3.088 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/5.136, allocations: 9.953 kB / 3.088 GB, free: 382.1 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.511e-05/5.136, allocations: 180.1 kB / 3.088 GB, free: 382 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/5.136, allocations: 116.1 kB / 3.088 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/5.136, allocations: 120.6 kB / 3.088 GB, free: 381.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.733e-05/5.136, allocations: 183.8 kB / 3.088 GB, free: 381.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.62e-05/5.136, allocations: 179.7 kB / 3.089 GB, free: 381.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.015e-05/5.136, allocations: 180.1 kB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/5.136, allocations: 425 kB / 3.089 GB, free: 380.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/5.136, allocations: 101 kB / 3.089 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/5.136, allocations: 108.2 kB / 3.089 GB, free: 380.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.621e-05/5.136, allocations: 185.9 kB / 3.09 GB, free: 380.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/5.136, allocations: 183.6 kB / 3.09 GB, free: 380.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.34e-05/5.137, allocations: 180 kB / 3.09 GB, free: 380 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-05/5.137, allocations: 176.3 kB / 3.09 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000111/5.137, allocations: 321.7 kB / 3.09 GB, free: 379.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/5.137, allocations: 185.9 kB / 3.091 GB, free: 379.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/5.137, allocations: 179.4 kB / 3.091 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/5.137, allocations: 119.4 kB / 3.091 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/5.137, allocations: 176.3 kB / 3.091 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/5.137, allocations: 101 kB / 3.091 GB, free: 378.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.29e-05/5.137, allocations: 132.3 kB / 3.091 GB, free: 378.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004351/5.138, allocations: 79.38 kB / 3.091 GB, free: 378.7 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.00151/5.139, allocations: 1.167 MB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001426/5.139, allocations: 21.34 kB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.139, allocations: 3.562 kB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/5.139, allocations: 3 kB / 3.093 GB, free: 378.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/5.14, allocations: 0.5309 MB / 3.093 GB, free: 377.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/5.14, allocations: 219.2 kB / 3.093 GB, free: 377.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/5.14, allocations: 0.7339 MB / 3.094 GB, free: 377 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/5.14, allocations: 3.219 kB / 3.094 GB, free: 377 MB / 1.151 GB Notification: Performance of Templates: time 0.012/5.152, allocations: 6.649 MB / 3.1 GB, free: 376.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