Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001892/0.001892, allocations: 172.3 kB / 487 MB, free: 5.359 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.572/1.572, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.00114/0.00114, allocations: 100.7 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.803e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/5.093, allocations: 2.175 GB / 3.38 GB, free: 128.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/5.093, allocations: 83.95 kB / 3.38 GB, free: 128.1 MB / 1.151 GB [/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$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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 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$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 9.1.1-maint.9.1.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.8451/5.938, allocations: 141.5 MB / 3.518 GB, free: 376.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.753e-05/5.938, allocations: 11.88 kB / 3.518 GB, free: 376.4 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003546/5.939, allocations: 434.4 kB / 3.519 GB, free: 376 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/5.939, allocations: 10.12 kB / 3.519 GB, free: 376 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/5.939, allocations: 26.47 kB / 3.519 GB, free: 376 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/5.939, allocations: 266.3 kB / 3.519 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/5.939, allocations: 6 kB / 3.519 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/5.939, allocations: 12.28 kB / 3.519 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001618/5.939, allocations: 94.92 kB / 3.519 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/5.939, allocations: 294.1 kB / 3.519 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/5.939, allocations: 0 / 3.519 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/5.94, allocations: 3 kB / 3.519 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/5.94, allocations: 10.78 kB / 3.519 GB, free: 375.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/5.94, allocations: 1.882 MB / 3.521 GB, free: 374 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/5.94, allocations: 172.6 kB / 3.521 GB, free: 373.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/5.94, allocations: 85.62 kB / 3.521 GB, free: 373.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/5.94, allocations: 77.72 kB / 3.522 GB, free: 373.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/5.941, allocations: 105.8 kB / 3.522 GB, free: 373.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/5.941, allocations: 2.5 kB / 3.522 GB, free: 373.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 6.636e-05/5.941, allocations: 42.67 kB / 3.522 GB, free: 373.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/5.941, allocations: 51.41 kB / 3.522 GB, free: 373.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/5.941, allocations: 145.3 kB / 3.522 GB, free: 373.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/5.941, allocations: 25.7 kB / 3.522 GB, free: 373.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/5.941, allocations: 177.3 kB / 3.522 GB, free: 373.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/5.941, allocations: 0 / 3.522 GB, free: 373.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/5.941, allocations: 0 / 3.522 GB, free: 373.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/5.941, allocations: 324.4 kB / 3.522 GB, free: 372.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/5.941, allocations: 7.781 kB / 3.522 GB, free: 372.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/5.941, allocations: 52.62 kB / 3.522 GB, free: 372.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/5.941, allocations: 21.61 kB / 3.522 GB, free: 372.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/5.941, allocations: 3.906 kB / 3.522 GB, free: 372.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001346/5.941, allocations: 73.08 kB / 3.522 GB, free: 372.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/5.941, allocations: 10.19 kB / 3.523 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/5.941, allocations: 3.75 kB / 3.523 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/5.941, allocations: 3.938 kB / 3.523 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/5.941, allocations: 15.56 kB / 3.523 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/5.941, allocations: 0 / 3.523 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/5.941, allocations: 9.812 kB / 3.523 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/5.941, allocations: 10.34 kB / 3.523 GB, free: 372.8 MB / 1.151 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 6.573e-05/5.941, allocations: 185.8 kB / 3.523 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/5.941, allocations: 112.7 kB / 3.523 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/5.942, allocations: 120.3 kB / 3.523 GB, free: 372.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/5.942, allocations: 182.5 kB / 3.523 GB, free: 372.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.094e-05/5.942, allocations: 180.1 kB / 3.523 GB, free: 372 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/5.942, allocations: 179.4 kB / 3.523 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/5.942, allocations: 448.9 kB / 3.524 GB, free: 371.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/5.942, allocations: 101 kB / 3.524 GB, free: 371.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/5.942, allocations: 104.8 kB / 3.524 GB, free: 371.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.038e-05/5.942, allocations: 182.4 kB / 3.524 GB, free: 371 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/5.942, allocations: 180.2 kB / 3.524 GB, free: 370.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.874e-05/5.942, allocations: 185.7 kB / 3.525 GB, free: 370.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-05/5.942, allocations: 181.4 kB / 3.525 GB, free: 370.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.142e-05/5.942, allocations: 313.4 kB / 3.525 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/5.942, allocations: 196.6 kB / 3.525 GB, free: 370 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/5.942, allocations: 176.3 kB / 3.525 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/5.942, allocations: 104.7 kB / 3.526 GB, free: 369.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/5.942, allocations: 179.6 kB / 3.526 GB, free: 369.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/5.942, allocations: 101 kB / 3.526 GB, free: 369.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.797e-05/5.942, allocations: 122 kB / 3.526 GB, free: 369.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003363/5.943, allocations: 73.69 kB / 3.526 GB, free: 369.3 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.0006792/5.943, allocations: 0.7543 MB / 3.527 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.216e-05/5.943, allocations: 22.16 kB / 3.527 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/5.943, allocations: 2.188 kB / 3.527 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/5.943, allocations: 0 / 3.527 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/5.944, allocations: 0.527 MB / 3.527 GB, free: 368.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/5.944, allocations: 268.3 kB / 3.528 GB, free: 368.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/5.944, allocations: 0.7646 MB / 3.528 GB, free: 367.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.21e-07/5.944, allocations: 3.391 kB / 3.528 GB, free: 367.7 MB / 1.151 GB Notification: Performance of Templates: time 0.006923/5.951, allocations: 4.037 MB / 3.532 GB, free: 367.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches