Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.158/1.158, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 166.7 kB / 316 MB, free: 7.16 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.257/1.257, allocations: 205.1 MB / 0.5667 GB, free: 23.57 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.0009787/0.0009788, allocations: 88.39 kB / 0.671 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.892e-06, allocations: 0 / 0.7807 GB, free: 348 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3981, allocations: 106.3 MB / 0.8846 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.528/3.926, allocations: 2.445 GB / 3.33 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/3.926, allocations: 83.95 kB / 3.33 GB, free: 106.7 MB / 0.8855 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 (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$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 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 (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$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 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 (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/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 (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/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 (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$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.4897/4.416, allocations: 136.8 MB / 3.463 GB, free: 297.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.374e-05/4.416, allocations: 7.656 kB / 3.463 GB, free: 297.2 MB / 0.8855 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.0002772/4.416, allocations: 401.4 kB / 3.464 GB, free: 296.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/4.416, allocations: 10.78 kB / 3.464 GB, free: 296.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/4.416, allocations: 19.44 kB / 3.464 GB, free: 296.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/4.417, allocations: 255.6 kB / 3.464 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/4.417, allocations: 6.812 kB / 3.464 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/4.417, allocations: 11.09 kB / 3.464 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.167e-05/4.417, allocations: 42.91 kB / 3.464 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/4.417, allocations: 216.5 kB / 3.464 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/4.417, allocations: 1.5 kB / 3.464 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/4.417, allocations: 3.281 kB / 3.464 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/4.417, allocations: 7.125 kB / 3.464 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/4.418, allocations: 1.53 MB / 3.466 GB, free: 295.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.206e-05/4.418, allocations: 168.4 kB / 3.466 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/4.418, allocations: 87.27 kB / 3.466 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/4.418, allocations: 75.28 kB / 3.466 GB, free: 294.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/4.418, allocations: 105.8 kB / 3.466 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/4.418, allocations: 0 / 3.466 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 5.792e-05/4.418, allocations: 40.52 kB / 3.466 GB, free: 294.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/4.418, allocations: 54.12 kB / 3.466 GB, free: 294.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/4.418, allocations: 146.9 kB / 3.467 GB, free: 294.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-06/4.418, allocations: 25.7 kB / 3.467 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/4.418, allocations: 144.6 kB / 3.467 GB, free: 294.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/4.418, allocations: 0 / 3.467 GB, free: 294.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/4.418, allocations: 0 / 3.467 GB, free: 294.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/4.418, allocations: 321.7 kB / 3.467 GB, free: 294 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/4.418, allocations: 10.09 kB / 3.467 GB, free: 294 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/4.418, allocations: 44.44 kB / 3.467 GB, free: 294 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/4.418, allocations: 14.28 kB / 3.467 GB, free: 294 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/4.418, allocations: 0 / 3.467 GB, free: 294 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/4.418, allocations: 73.81 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/4.418, allocations: 2.562 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/4.418, allocations: 2.188 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/4.418, allocations: 3.188 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/4.418, allocations: 18.66 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/4.418, allocations: 2.562 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/4.418, allocations: 9.906 kB / 3.467 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/4.418, allocations: 6.25 kB / 3.467 GB, free: 293.9 MB / 0.8855 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 4.177e-05/4.418, allocations: 181.4 kB / 3.467 GB, free: 293.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/4.418, allocations: 115.4 kB / 3.467 GB, free: 293.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/4.419, allocations: 115.1 kB / 3.468 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/4.419, allocations: 186.4 kB / 3.468 GB, free: 293.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/4.419, allocations: 179.2 kB / 3.468 GB, free: 293.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/4.419, allocations: 182.8 kB / 3.468 GB, free: 293 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/4.419, allocations: 425.9 kB / 3.468 GB, free: 292.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/4.419, allocations: 104.8 kB / 3.469 GB, free: 292.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/4.419, allocations: 108.2 kB / 3.469 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/4.419, allocations: 179.2 kB / 3.469 GB, free: 292.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/4.419, allocations: 178.4 kB / 3.469 GB, free: 292 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.919e-05/4.419, allocations: 187.8 kB / 3.469 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-05/4.419, allocations: 184.3 kB / 3.469 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.415e-05/4.419, allocations: 312.8 kB / 3.47 GB, free: 291.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/4.419, allocations: 188.8 kB / 3.47 GB, free: 291.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/4.419, allocations: 187.3 kB / 3.47 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/4.419, allocations: 105.6 kB / 3.47 GB, free: 290.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/4.419, allocations: 176.3 kB / 3.47 GB, free: 290.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/4.419, allocations: 101.7 kB / 3.47 GB, free: 290.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.421e-05/4.419, allocations: 114.2 kB / 3.471 GB, free: 290.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002695/4.419, allocations: 69.28 kB / 3.471 GB, free: 290.5 MB / 0.8855 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.0005454/4.42, allocations: 0.7503 MB / 3.471 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.221e-05/4.42, allocations: 17.22 kB / 3.471 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/4.42, allocations: 0 / 3.471 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/4.42, allocations: 0 / 3.471 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/4.42, allocations: 0.5318 MB / 3.472 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/4.42, allocations: 218.1 kB / 3.472 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/4.421, allocations: 0.7294 MB / 3.473 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/4.421, allocations: 3.938 kB / 3.473 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.005732/4.426, allocations: 3.98 MB / 3.477 GB, free: 288.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches