Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [: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.115/2.115, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001134/0.001134, allocations: 185.2 kB / 490.8 MB, free: 1.973 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.349/1.349, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009483/0.0009483, allocations: 90.25 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.748e-06/9.778e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3108, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.389/4.699, allocations: 2.162 GB / 3.374 GB, free: 124.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/4.7, allocations: 82.58 kB / 3.374 GB, free: 124.7 MB / 1.151 GB [/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$conAirNoC$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/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$conAirNoC$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$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) 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$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) 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$conDryAirNoC$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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$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$conDryAirWithC$outlet$forward 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.9996/5.699, allocations: 223.4 MB / 3.592 GB, free: 363.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.705e-05/5.699, allocations: 11.52 kB / 3.592 GB, free: 363.6 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006062/5.7, allocations: 451.3 kB / 3.592 GB, free: 363.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/5.7, allocations: 12.03 kB / 3.592 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/5.7, allocations: 43.7 kB / 3.592 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/5.701, allocations: 258 kB / 3.593 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/5.701, allocations: 127.3 kB / 3.593 GB, free: 362.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/5.701, allocations: 12 kB / 3.593 GB, free: 362.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002828/5.701, allocations: 136.9 kB / 3.593 GB, free: 362.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/5.702, allocations: 253 kB / 3.593 GB, free: 362.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/5.702, allocations: 0 / 3.593 GB, free: 362.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/5.702, allocations: 0 / 3.593 GB, free: 362.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/5.702, allocations: 12 kB / 3.593 GB, free: 362.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/5.703, allocations: 1.528 MB / 3.595 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/5.703, allocations: 169 kB / 3.595 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/5.703, allocations: 80.14 kB / 3.595 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/5.703, allocations: 75.28 kB / 3.595 GB, free: 360.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/5.703, allocations: 113.8 kB / 3.595 GB, free: 360.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/5.703, allocations: 0 / 3.595 GB, free: 360.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/5.703, allocations: 37.55 kB / 3.595 GB, free: 360.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/5.703, allocations: 55.34 kB / 3.595 GB, free: 360.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/5.704, allocations: 204.7 kB / 3.595 GB, free: 359.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/5.704, allocations: 33.64 kB / 3.595 GB, free: 359.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/5.704, allocations: 190.4 kB / 3.596 GB, free: 359.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-06/5.704, allocations: 3.984 kB / 3.596 GB, free: 359.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/5.704, allocations: 4 kB / 3.596 GB, free: 359.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/5.704, allocations: 330.7 kB / 3.596 GB, free: 359.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/5.704, allocations: 31.98 kB / 3.596 GB, free: 359.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/5.704, allocations: 159 kB / 3.596 GB, free: 359.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/5.704, allocations: 55.91 kB / 3.596 GB, free: 359 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/5.704, allocations: 4 kB / 3.596 GB, free: 359 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003536/5.704, allocations: 189.1 kB / 3.596 GB, free: 358.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/5.704, allocations: 8.625 kB / 3.596 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/5.704, allocations: 4 kB / 3.596 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/5.705, allocations: 8 kB / 3.596 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/5.705, allocations: 39.92 kB / 3.596 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/5.705, allocations: 7.906 kB / 3.596 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/5.705, allocations: 15.84 kB / 3.596 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/5.705, allocations: 12 kB / 3.596 GB, free: 358.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.387e-05/5.705, allocations: 196 kB / 3.597 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/5.705, allocations: 116.8 kB / 3.597 GB, free: 358.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/5.705, allocations: 121.3 kB / 3.597 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/5.705, allocations: 180.2 kB / 3.597 GB, free: 358.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/5.705, allocations: 184.2 kB / 3.597 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/5.705, allocations: 180.2 kB / 3.597 GB, free: 357.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/5.705, allocations: 441.7 kB / 3.598 GB, free: 357.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/5.706, allocations: 113 kB / 3.598 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/5.706, allocations: 105 kB / 3.598 GB, free: 357 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.182e-05/5.706, allocations: 176.3 kB / 3.598 GB, free: 356.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/5.706, allocations: 180.2 kB / 3.598 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.193e-05/5.706, allocations: 180.3 kB / 3.599 GB, free: 356.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.039e-05/5.706, allocations: 182 kB / 3.599 GB, free: 356.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001086/5.706, allocations: 319.6 kB / 3.599 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/5.706, allocations: 197.9 kB / 3.599 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/5.706, allocations: 188.2 kB / 3.599 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/5.706, allocations: 101 kB / 3.599 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/5.706, allocations: 180.3 kB / 3.6 GB, free: 355.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/5.706, allocations: 104.9 kB / 3.6 GB, free: 355.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001087/5.706, allocations: 163.9 kB / 3.6 GB, free: 355 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005211/5.707, allocations: 119.7 kB / 3.6 GB, free: 354.8 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.001496/5.708, allocations: 1.157 MB / 3.601 GB, free: 353.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001669/5.709, allocations: 72.67 kB / 3.601 GB, free: 353.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/5.709, allocations: 0 / 3.601 GB, free: 353.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/5.709, allocations: 0 / 3.601 GB, free: 353.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/5.709, allocations: 0.5303 MB / 3.602 GB, free: 353.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/5.709, allocations: 259.9 kB / 3.602 GB, free: 352.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/5.71, allocations: 0.7622 MB / 3.603 GB, free: 352.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/5.71, allocations: 0 / 3.603 GB, free: 352.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01173/5.721, allocations: 7.086 MB / 3.61 GB, free: 345.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches