Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.3 kB / 316 MB, free: 3.531 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.052/1.052, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0008556/0.0008557, allocations: 91.25 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.095e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.028/4.185, allocations: 2.441 GB / 3.326 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/4.185, allocations: 84.94 kB / 3.326 GB, free: 296.3 MB / 0.8698 GB [/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$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 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$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 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$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 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$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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 0.3388/4.524, allocations: 215.7 MB / 3.537 GB, free: 76.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.597e-05/4.524, allocations: 12 kB / 3.537 GB, free: 76.27 MB / 0.8698 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.0003472/4.524, allocations: 450.6 kB / 3.537 GB, free: 75.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/4.524, allocations: 8.031 kB / 3.537 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/4.524, allocations: 51.7 kB / 3.537 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/4.525, allocations: 254.7 kB / 3.537 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/4.525, allocations: 127.3 kB / 3.537 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/4.525, allocations: 12 kB / 3.537 GB, free: 75.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002099/4.525, allocations: 136.9 kB / 3.538 GB, free: 75.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/4.525, allocations: 253 kB / 3.538 GB, free: 74.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/4.525, allocations: 0 / 3.538 GB, free: 74.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/4.525, allocations: 3.938 kB / 3.538 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/4.525, allocations: 11.94 kB / 3.538 GB, free: 74.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008434/4.526, allocations: 1.532 MB / 3.539 GB, free: 73.22 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/4.526, allocations: 165.1 kB / 3.539 GB, free: 73.05 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/4.526, allocations: 80.14 kB / 3.54 GB, free: 72.97 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/4.526, allocations: 79.22 kB / 3.54 GB, free: 72.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/4.526, allocations: 109.8 kB / 3.54 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/4.526, allocations: 4 kB / 3.54 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.577e-05/4.526, allocations: 41.52 kB / 3.54 GB, free: 72.72 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/4.526, allocations: 51.59 kB / 3.54 GB, free: 72.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/4.526, allocations: 205.3 kB / 3.54 GB, free: 72.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/4.526, allocations: 29.7 kB / 3.54 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/4.527, allocations: 191.1 kB / 3.54 GB, free: 72.22 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/4.527, allocations: 7.984 kB / 3.54 GB, free: 72.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/4.527, allocations: 0 / 3.54 GB, free: 72.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/4.527, allocations: 326.8 kB / 3.541 GB, free: 71.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/4.527, allocations: 35.98 kB / 3.541 GB, free: 71.85 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/4.527, allocations: 164 kB / 3.541 GB, free: 71.63 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/4.527, allocations: 59.91 kB / 3.541 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/4.527, allocations: 0 / 3.541 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003146/4.527, allocations: 189.1 kB / 3.541 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/4.527, allocations: 4 kB / 3.541 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/4.527, allocations: 4 kB / 3.541 GB, free: 71.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/4.527, allocations: 8.625 kB / 3.541 GB, free: 71.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/4.527, allocations: 43.86 kB / 3.541 GB, free: 71.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/4.527, allocations: 11.94 kB / 3.541 GB, free: 71.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/4.528, allocations: 19.75 kB / 3.541 GB, free: 71.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/4.528, allocations: 15.98 kB / 3.541 GB, free: 71.27 MB / 0.8698 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 5.182e-05/4.528, allocations: 188.1 kB / 3.541 GB, free: 71.08 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/4.528, allocations: 116.8 kB / 3.541 GB, free: 70.96 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/4.528, allocations: 117.5 kB / 3.541 GB, free: 70.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/4.528, allocations: 184.2 kB / 3.542 GB, free: 70.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/4.528, allocations: 176.3 kB / 3.542 GB, free: 70.48 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/4.528, allocations: 176.3 kB / 3.542 GB, free: 70.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/4.528, allocations: 453.6 kB / 3.542 GB, free: 69.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/4.528, allocations: 101 kB / 3.542 GB, free: 69.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/4.528, allocations: 117 kB / 3.543 GB, free: 69.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/4.528, allocations: 180.2 kB / 3.543 GB, free: 69.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/4.528, allocations: 176.3 kB / 3.543 GB, free: 69.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/4.528, allocations: 180.2 kB / 3.543 GB, free: 69.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-05/4.528, allocations: 185.5 kB / 3.543 GB, free: 68.85 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.306e-05/4.528, allocations: 319.6 kB / 3.544 GB, free: 68.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/4.528, allocations: 193.9 kB / 3.544 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/4.528, allocations: 180.3 kB / 3.544 GB, free: 68.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/4.528, allocations: 101 kB / 3.544 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/4.528, allocations: 188.2 kB / 3.544 GB, free: 67.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/4.528, allocations: 105 kB / 3.544 GB, free: 67.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.809e-05/4.529, allocations: 152.4 kB / 3.544 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003852/4.529, allocations: 111.8 kB / 3.545 GB, free: 67.45 MB / 0.8698 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.0008585/4.53, allocations: 1.149 MB / 3.546 GB, free: 66.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001176/4.53, allocations: 68.98 kB / 3.546 GB, free: 66.23 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/4.53, allocations: 4.062 kB / 3.546 GB, free: 66.22 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/4.53, allocations: 4 kB / 3.546 GB, free: 66.22 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/4.53, allocations: 0.5303 MB / 3.546 GB, free: 65.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/4.53, allocations: 255.6 kB / 3.547 GB, free: 65.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/4.531, allocations: 0.7622 MB / 3.547 GB, free: 64.62 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/4.531, allocations: 0 / 3.547 GB, free: 64.62 MB / 0.8698 GB Notification: Performance of Templates: time 0.009124/4.54, allocations: 7.078 MB / 3.554 GB, free: 57.54 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches