Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 7 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.000949/0.000949, allocations: 181.3 kB / 316 MB, free: 3.562 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.077/1.077, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0008728/0.0008729, allocations: 88.83 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.825/3.983, allocations: 2.455 GB / 3.339 GB, free: 283 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/3.984, allocations: 86.06 kB / 3.339 GB, free: 282.9 MB / 0.8698 GB [/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$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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 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$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 7.0.3-maint.7.0.x/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.2163/4.2, allocations: 141.8 MB / 3.478 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.48e-05/4.2, allocations: 15.92 kB / 3.478 GB, free: 139.4 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0002743/4.2, allocations: 426.3 kB / 3.478 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/4.2, allocations: 8.031 kB / 3.478 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/4.2, allocations: 31.72 kB / 3.478 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/4.2, allocations: 262.5 kB / 3.479 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/4.201, allocations: 8 kB / 3.479 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/4.201, allocations: 12 kB / 3.479 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001493/4.201, allocations: 96.75 kB / 3.479 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/4.201, allocations: 301.2 kB / 3.479 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/4.201, allocations: 0 / 3.479 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/4.201, allocations: 0 / 3.479 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/4.201, allocations: 8 kB / 3.479 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/4.202, allocations: 1.88 MB / 3.481 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.54e-05/4.202, allocations: 165.1 kB / 3.481 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/4.202, allocations: 88.36 kB / 3.481 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/4.202, allocations: 75.28 kB / 3.481 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/4.202, allocations: 117.7 kB / 3.481 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/4.202, allocations: 0 / 3.481 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 5.708e-05/4.202, allocations: 37.52 kB / 3.481 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.337e-05/4.202, allocations: 55.39 kB / 3.481 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/4.202, allocations: 150.1 kB / 3.481 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/4.202, allocations: 25.7 kB / 3.482 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/4.202, allocations: 175.4 kB / 3.482 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/4.202, allocations: 0 / 3.482 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/4.202, allocations: 0 / 3.482 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.912e-05/4.202, allocations: 322.8 kB / 3.482 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/4.202, allocations: 8 kB / 3.482 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/4.202, allocations: 54.91 kB / 3.482 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/4.202, allocations: 15.92 kB / 3.482 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/4.202, allocations: 3.906 kB / 3.482 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001186/4.202, allocations: 81.47 kB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/4.202, allocations: 6.344 kB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/4.202, allocations: 0 / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/4.202, allocations: 4 kB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/4.202, allocations: 19.94 kB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/4.202, allocations: 11.92 kB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/4.202, allocations: 4.156 kB / 3.482 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/4.202, allocations: 8 kB / 3.482 GB, free: 134.6 MB / 0.8698 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.436e-05/4.203, allocations: 184.2 kB / 3.482 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/4.203, allocations: 116.7 kB / 3.482 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/4.203, allocations: 125.2 kB / 3.483 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/4.203, allocations: 176.3 kB / 3.483 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/4.203, allocations: 180.3 kB / 3.483 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/4.203, allocations: 184.2 kB / 3.483 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/4.203, allocations: 437.7 kB / 3.484 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/4.203, allocations: 101 kB / 3.484 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/4.203, allocations: 104.9 kB / 3.484 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.232e-05/4.203, allocations: 184.2 kB / 3.484 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/4.203, allocations: 184.2 kB / 3.484 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-05/4.203, allocations: 185.5 kB / 3.484 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.16e-05/4.203, allocations: 176.3 kB / 3.484 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.541e-05/4.203, allocations: 311.7 kB / 3.485 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/4.203, allocations: 197.8 kB / 3.485 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/4.203, allocations: 180.2 kB / 3.485 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/4.203, allocations: 109 kB / 3.485 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/4.203, allocations: 188.2 kB / 3.485 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/4.203, allocations: 101.3 kB / 3.485 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.847e-05/4.203, allocations: 115.2 kB / 3.486 GB, free: 131 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002793/4.204, allocations: 75.73 kB / 3.486 GB, free: 130.9 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.0005139/4.204, allocations: 0.7501 MB / 3.486 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.856e-05/4.204, allocations: 19.94 kB / 3.486 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/4.204, allocations: 0 / 3.486 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/4.204, allocations: 0 / 3.486 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/4.204, allocations: 0.5268 MB / 3.487 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/4.205, allocations: 263.3 kB / 3.487 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/4.205, allocations: 0.7678 MB / 3.488 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/4.205, allocations: 0 / 3.488 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.005673/4.21, allocations: 4.029 MB / 3.492 GB, free: 124.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches