Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001422/0.001422, allocations: 187.3 kB / 487 MB, free: 5.406 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.46/1.46, allocations: 221.3 MB / 0.7819 GB, free: 1.555 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.001121/0.001121, allocations: 91.25 kB / 0.9213 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.474e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.28, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.691/4.971, allocations: 2.161 GB / 3.367 GB, free: 144.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/4.972, allocations: 90.98 kB / 3.367 GB, free: 144.3 MB / 1.151 GB [/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$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 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$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 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$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 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$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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 1.113/6.085, allocations: 223.4 MB / 3.585 GB, free: 372.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.618e-05/6.085, allocations: 4.031 kB / 3.585 GB, free: 372.5 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.0006144/6.085, allocations: 460.3 kB / 3.585 GB, free: 372.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/6.085, allocations: 9 kB / 3.585 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/6.086, allocations: 45.17 kB / 3.585 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/6.086, allocations: 256.1 kB / 3.586 GB, free: 371.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/6.086, allocations: 124.8 kB / 3.586 GB, free: 371.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/6.086, allocations: 12.81 kB / 3.586 GB, free: 371.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003363/6.087, allocations: 138.4 kB / 3.586 GB, free: 371.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/6.087, allocations: 251.9 kB / 3.586 GB, free: 371.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/6.087, allocations: 0.75 kB / 3.586 GB, free: 371.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/6.087, allocations: 9.438 kB / 3.586 GB, free: 371.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/6.087, allocations: 6 kB / 3.586 GB, free: 371.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/6.088, allocations: 1.526 MB / 3.588 GB, free: 370 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/6.088, allocations: 170.1 kB / 3.588 GB, free: 369.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/6.088, allocations: 84.58 kB / 3.588 GB, free: 369.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/6.089, allocations: 75.28 kB / 3.588 GB, free: 369.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/6.089, allocations: 106.8 kB / 3.588 GB, free: 369.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/6.089, allocations: 1 kB / 3.588 GB, free: 369.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001068/6.089, allocations: 38.73 kB / 3.588 GB, free: 369.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/6.089, allocations: 52.44 kB / 3.588 GB, free: 369.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/6.089, allocations: 207.6 kB / 3.588 GB, free: 369.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/6.089, allocations: 26.42 kB / 3.588 GB, free: 369.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/6.089, allocations: 199.1 kB / 3.588 GB, free: 369.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/6.089, allocations: 4.969 kB / 3.588 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/6.089, allocations: 1.125 kB / 3.588 GB, free: 369.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/6.089, allocations: 329 kB / 3.589 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/6.089, allocations: 32.02 kB / 3.589 GB, free: 368.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/6.089, allocations: 160.4 kB / 3.589 GB, free: 368.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/6.09, allocations: 60.28 kB / 3.589 GB, free: 368.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/6.09, allocations: 1.906 kB / 3.589 GB, free: 368.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004649/6.09, allocations: 187.6 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/6.09, allocations: 5.094 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/6.09, allocations: 6.938 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/6.09, allocations: 11.8 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/6.09, allocations: 42.48 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/6.09, allocations: 6.688 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/6.091, allocations: 21.36 kB / 3.589 GB, free: 368.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/6.091, allocations: 7.875 kB / 3.589 GB, free: 368.4 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 9.152e-05/6.091, allocations: 194.2 kB / 3.589 GB, free: 368.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/6.091, allocations: 116.6 kB / 3.59 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/6.091, allocations: 116.9 kB / 3.59 GB, free: 368 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/6.091, allocations: 187.8 kB / 3.59 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/6.091, allocations: 180.2 kB / 3.59 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-05/6.091, allocations: 180.7 kB / 3.59 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/6.091, allocations: 438.2 kB / 3.591 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/6.091, allocations: 113.7 kB / 3.591 GB, free: 366.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/6.091, allocations: 105.7 kB / 3.591 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-05/6.091, allocations: 177.6 kB / 3.591 GB, free: 366.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/6.091, allocations: 181.6 kB / 3.591 GB, free: 366.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-05/6.091, allocations: 180.3 kB / 3.591 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.375e-05/6.091, allocations: 186.7 kB / 3.592 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001128/6.092, allocations: 315.9 kB / 3.592 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/6.092, allocations: 201.3 kB / 3.592 GB, free: 365.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/6.092, allocations: 181.6 kB / 3.592 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/6.092, allocations: 103.6 kB / 3.592 GB, free: 365.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/6.092, allocations: 178.7 kB / 3.592 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/6.092, allocations: 104.9 kB / 3.593 GB, free: 364.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001943/6.092, allocations: 160.4 kB / 3.593 GB, free: 364.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006342/6.093, allocations: 116.9 kB / 3.593 GB, free: 364.7 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.002219/6.095, allocations: 1.159 MB / 3.594 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000233/6.095, allocations: 71.31 kB / 3.594 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/6.095, allocations: 4.125 kB / 3.594 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/6.095, allocations: 5.438 kB / 3.594 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/6.096, allocations: 0.5301 MB / 3.595 GB, free: 363.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/6.096, allocations: 256.1 kB / 3.595 GB, free: 363.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/6.097, allocations: 0.767 MB / 3.596 GB, free: 362.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.21e-07/6.097, allocations: 0 / 3.596 GB, free: 362.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01585/6.112, allocations: 7.076 MB / 3.602 GB, free: 359.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches