Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [: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 2.046/2.046, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.00108/0.001081, allocations: 184.1 kB / 490.8 MB, free: 1.871 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.431/1.431, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.001044/0.001044, allocations: 99.28 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.195e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3046, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.556/4.861, allocations: 2.176 GB / 3.387 GB, free: 190.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/4.861, allocations: 87.8 kB / 3.387 GB, free: 190.8 MB / 1.167 GB [/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$conAir$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward 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$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$souRev$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd: time 0.2542/5.115, allocations: 141.5 MB / 3.525 GB, free: 47.67 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.02e-05/5.115, allocations: 11.98 kB / 3.525 GB, free: 47.66 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003796/5.116, allocations: 438.3 kB / 3.526 GB, free: 47.18 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/5.116, allocations: 8.031 kB / 3.526 GB, free: 47.18 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/5.116, allocations: 23.72 kB / 3.526 GB, free: 47.15 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/5.116, allocations: 270.5 kB / 3.526 GB, free: 46.85 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/5.116, allocations: 7.906 kB / 3.526 GB, free: 46.84 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/5.116, allocations: 16 kB / 3.526 GB, free: 46.82 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001623/5.116, allocations: 80.86 kB / 3.526 GB, free: 46.75 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/5.117, allocations: 300.6 kB / 3.526 GB, free: 46.38 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/5.117, allocations: 4.156 kB / 3.526 GB, free: 46.38 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/5.117, allocations: 4 kB / 3.527 GB, free: 46.38 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/5.117, allocations: 11.94 kB / 3.527 GB, free: 46.36 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/5.118, allocations: 1.88 MB / 3.528 GB, free: 44.39 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.129e-05/5.118, allocations: 169.1 kB / 3.529 GB, free: 44.21 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/5.118, allocations: 84.14 kB / 3.529 GB, free: 44.12 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/5.118, allocations: 75.28 kB / 3.529 GB, free: 44.05 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/5.118, allocations: 105.8 kB / 3.529 GB, free: 43.94 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/5.118, allocations: 3.984 kB / 3.529 GB, free: 43.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 7.868e-05/5.118, allocations: 49.48 kB / 3.529 GB, free: 43.88 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/5.118, allocations: 51.41 kB / 3.529 GB, free: 43.82 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/5.118, allocations: 145.6 kB / 3.529 GB, free: 43.66 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/5.118, allocations: 25.7 kB / 3.529 GB, free: 43.63 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/5.118, allocations: 167.4 kB / 3.529 GB, free: 43.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-06/5.118, allocations: 3.984 kB / 3.529 GB, free: 43.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/5.118, allocations: 0 / 3.529 GB, free: 43.46 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/5.118, allocations: 326.8 kB / 3.53 GB, free: 43.13 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/5.118, allocations: 4 kB / 3.53 GB, free: 43.13 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/5.118, allocations: 58.86 kB / 3.53 GB, free: 43.05 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/5.118, allocations: 15.94 kB / 3.53 GB, free: 43.03 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/5.118, allocations: 0 / 3.53 GB, free: 43.03 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/5.118, allocations: 81.45 kB / 3.53 GB, free: 42.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/5.118, allocations: 6.812 kB / 3.53 GB, free: 42.94 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/5.118, allocations: 4 kB / 3.53 GB, free: 42.94 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/5.118, allocations: 4 kB / 3.53 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/5.118, allocations: 8 kB / 3.53 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/5.119, allocations: 4 kB / 3.53 GB, free: 42.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/5.119, allocations: 15.78 kB / 3.53 GB, free: 42.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/5.119, allocations: 8.25 kB / 3.53 GB, free: 42.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.675e-05/5.119, allocations: 180.2 kB / 3.53 GB, free: 42.71 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/5.119, allocations: 116.8 kB / 3.53 GB, free: 42.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/5.119, allocations: 117.4 kB / 3.53 GB, free: 42.48 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/5.119, allocations: 180.2 kB / 3.53 GB, free: 42.29 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/5.119, allocations: 176.3 kB / 3.53 GB, free: 42.11 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/5.119, allocations: 184.2 kB / 3.531 GB, free: 41.93 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/5.119, allocations: 437.7 kB / 3.531 GB, free: 41.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/5.119, allocations: 105 kB / 3.531 GB, free: 41.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/5.119, allocations: 104.9 kB / 3.531 GB, free: 41.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-05/5.119, allocations: 192.1 kB / 3.531 GB, free: 41.04 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/5.119, allocations: 184.2 kB / 3.532 GB, free: 40.85 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/5.119, allocations: 185.5 kB / 3.532 GB, free: 40.66 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-05/5.119, allocations: 180.2 kB / 3.532 GB, free: 40.48 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.745e-05/5.119, allocations: 311.7 kB / 3.532 GB, free: 40.15 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/5.119, allocations: 189.9 kB / 3.532 GB, free: 39.94 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/5.119, allocations: 188.3 kB / 3.533 GB, free: 39.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/5.119, allocations: 104.9 kB / 3.533 GB, free: 39.64 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/5.119, allocations: 176.3 kB / 3.533 GB, free: 39.46 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/5.119, allocations: 105.3 kB / 3.533 GB, free: 39.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.825e-05/5.119, allocations: 120.8 kB / 3.533 GB, free: 39.23 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003454/5.12, allocations: 71.73 kB / 3.533 GB, free: 39.16 MB / 1.167 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.0007134/5.121, allocations: 0.7484 MB / 3.534 GB, free: 38.41 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/5.121, allocations: 23.94 kB / 3.534 GB, free: 38.39 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/5.121, allocations: 0 / 3.534 GB, free: 38.39 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/5.121, allocations: 3.938 kB / 3.534 GB, free: 38.39 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/5.121, allocations: 0.5306 MB / 3.534 GB, free: 37.85 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/5.121, allocations: 275.1 kB / 3.535 GB, free: 37.55 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/5.121, allocations: 0.7621 MB / 3.535 GB, free: 36.76 MB / 1.167 GB Notification: Performance of SimCode: time 2.31e-07/5.121, allocations: 3.938 kB / 3.535 GB, free: 36.76 MB / 1.167 GB Notification: Performance of Templates: time 0.006485/5.128, allocations: 4.029 MB / 3.539 GB, free: 32.73 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches