Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") [: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.185/2.185, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001561/0.001561, allocations: 173.3 kB / 487 MB, free: 5.348 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.685/1.685, allocations: 221.3 MB / 0.7819 GB, free: 1.293 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.001057/0.001057, allocations: 98.77 kB / 0.9213 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.825e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3332, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.759/5.092, allocations: 2.166 GB / 3.371 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/5.093, allocations: 89.22 kB / 3.372 GB, free: 108.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 (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$conAir$inlet$forward 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$conAirRevFlo$bacPro_internal 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$conAirRevFlo$inlet$forward 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$conAirRevFlo$inlet$backward 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/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 (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/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 (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$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd: time 0.7979/5.891, allocations: 136.5 MB / 3.505 GB, free: 380.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.963e-05/5.891, allocations: 9.906 kB / 3.505 GB, free: 380.7 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003448/5.891, allocations: 400.1 kB / 3.505 GB, free: 380.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.891, allocations: 10.94 kB / 3.505 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/5.891, allocations: 25.34 kB / 3.505 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/5.892, allocations: 241.2 kB / 3.506 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/5.892, allocations: 7.375 kB / 3.506 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/5.892, allocations: 7.125 kB / 3.506 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.636e-05/5.892, allocations: 41.88 kB / 3.506 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/5.892, allocations: 219 kB / 3.506 GB, free: 379.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/5.892, allocations: 0 / 3.506 GB, free: 379.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/5.892, allocations: 0 / 3.506 GB, free: 379.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/5.892, allocations: 13.84 kB / 3.506 GB, free: 379.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/5.893, allocations: 1.527 MB / 3.507 GB, free: 378.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/5.893, allocations: 176.2 kB / 3.507 GB, free: 378.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/5.893, allocations: 80.14 kB / 3.508 GB, free: 378.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/5.893, allocations: 82.31 kB / 3.508 GB, free: 378.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/5.893, allocations: 105.8 kB / 3.508 GB, free: 378.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/5.893, allocations: 0 / 3.508 GB, free: 378.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.367e-05/5.893, allocations: 34.52 kB / 3.508 GB, free: 378.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/5.893, allocations: 51.41 kB / 3.508 GB, free: 378 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/5.893, allocations: 154.2 kB / 3.508 GB, free: 377.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/5.893, allocations: 25.7 kB / 3.508 GB, free: 377.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/5.893, allocations: 143.9 kB / 3.508 GB, free: 377.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/5.893, allocations: 0 / 3.508 GB, free: 377.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/5.893, allocations: 0 / 3.508 GB, free: 377.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/5.893, allocations: 323.4 kB / 3.508 GB, free: 377.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/5.893, allocations: 7.812 kB / 3.508 GB, free: 377.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/5.893, allocations: 48.95 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/5.893, allocations: 14.34 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/5.893, allocations: 0 / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001327/5.893, allocations: 71.67 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/5.893, allocations: 3.875 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/5.893, allocations: 3.875 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/5.893, allocations: 0 / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/5.894, allocations: 15.09 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/5.894, allocations: 3.656 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/5.894, allocations: 9.781 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/5.894, allocations: 3.25 kB / 3.509 GB, free: 377.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.113e-05/5.894, allocations: 187.6 kB / 3.509 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/5.894, allocations: 116.3 kB / 3.509 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/5.894, allocations: 112.5 kB / 3.509 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/5.894, allocations: 176.3 kB / 3.509 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/5.894, allocations: 187.8 kB / 3.509 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/5.894, allocations: 179.9 kB / 3.51 GB, free: 376.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/5.894, allocations: 424 kB / 3.51 GB, free: 376 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/5.894, allocations: 101 kB / 3.51 GB, free: 375.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/5.894, allocations: 105.9 kB / 3.51 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-05/5.894, allocations: 192.3 kB / 3.51 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/5.894, allocations: 179.2 kB / 3.51 GB, free: 375.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.99e-05/5.894, allocations: 186.6 kB / 3.511 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-05/5.894, allocations: 181.4 kB / 3.511 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.273e-05/5.894, allocations: 318.4 kB / 3.511 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/5.894, allocations: 185.9 kB / 3.511 GB, free: 374.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/5.894, allocations: 183.4 kB / 3.511 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.446e-05/5.895, allocations: 106.5 kB / 3.512 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/5.895, allocations: 178.1 kB / 3.512 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/5.895, allocations: 103.5 kB / 3.512 GB, free: 374 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.209e-05/5.895, allocations: 109.5 kB / 3.512 GB, free: 373.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003188/5.895, allocations: 66.2 kB / 3.512 GB, free: 373.9 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.0007088/5.896, allocations: 0.7504 MB / 3.513 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.222e-05/5.896, allocations: 18.58 kB / 3.513 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/5.896, allocations: 0 / 3.513 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/5.896, allocations: 0 / 3.513 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/5.896, allocations: 0.5302 MB / 3.513 GB, free: 373.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/5.896, allocations: 210.7 kB / 3.514 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/5.897, allocations: 0.7309 MB / 3.514 GB, free: 372.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.21e-07/5.897, allocations: 0 / 3.514 GB, free: 372.3 MB / 1.151 GB Notification: Performance of Templates: time 0.006703/5.903, allocations: 3.987 MB / 3.518 GB, free: 372.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches