Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 249.5 MB / 257 MB, free: 6.906 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.001139/0.001139, allocations: 183.5 kB / 316.3 MB, free: 3.27 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.798/1.798, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.000915/0.0009156, allocations: 95.97 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.688e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.487/7.763, allocations: 2.455 GB / 3.34 GB, free: 238 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/7.763, allocations: 90.25 kB / 3.34 GB, free: 238 MB / 0.8698 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 (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$conAir$inlet$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/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 (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$conAirRevFlo$inlet$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/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 (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$sou$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$souRev$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/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 (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2396/8.003, allocations: 141.4 MB / 3.478 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.773e-06/8.003, allocations: 0 / 3.478 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.687e-05/8.003, allocations: 7.984 kB / 3.478 GB, free: 105.7 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00036/8.004, allocations: 434.4 kB / 3.479 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/8.004, allocations: 12.03 kB / 3.479 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/8.004, allocations: 23.72 kB / 3.479 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/8.004, allocations: 263.7 kB / 3.479 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/8.004, allocations: 8 kB / 3.479 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/8.004, allocations: 12 kB / 3.479 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001485/8.004, allocations: 84.86 kB / 3.479 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/8.004, allocations: 307.1 kB / 3.479 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/8.004, allocations: 0 / 3.479 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/8.004, allocations: 4 kB / 3.479 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/8.004, allocations: 4.219 kB / 3.479 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/8.005, allocations: 1.888 MB / 3.481 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/8.005, allocations: 173.1 kB / 3.481 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/8.005, allocations: 84.14 kB / 3.481 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/8.005, allocations: 79.22 kB / 3.481 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/8.005, allocations: 117.8 kB / 3.481 GB, free: 102 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/8.005, allocations: 0 / 3.481 GB, free: 102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.589e-05/8.006, allocations: 33.61 kB / 3.482 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/8.006, allocations: 51.41 kB / 3.482 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/8.006, allocations: 150 kB / 3.482 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/8.006, allocations: 25.7 kB / 3.482 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/8.006, allocations: 179.4 kB / 3.482 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/8.006, allocations: 0 / 3.482 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/8.006, allocations: 4 kB / 3.482 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/8.006, allocations: 326.8 kB / 3.482 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/8.006, allocations: 8 kB / 3.482 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/8.006, allocations: 54.84 kB / 3.482 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/8.006, allocations: 15.98 kB / 3.482 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/8.006, allocations: 0 / 3.482 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000118/8.006, allocations: 81.69 kB / 3.482 GB, free: 101 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/8.006, allocations: 8.031 kB / 3.482 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/8.006, allocations: 4 kB / 3.482 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/8.006, allocations: 4 kB / 3.482 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/8.006, allocations: 15.92 kB / 3.482 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/8.006, allocations: 4 kB / 3.482 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/8.006, allocations: 7.906 kB / 3.482 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/8.006, allocations: 4 kB / 3.482 GB, free: 100.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.186e-05/8.006, allocations: 184.2 kB / 3.483 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/8.006, allocations: 120.8 kB / 3.483 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/8.006, allocations: 121.9 kB / 3.483 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/8.006, allocations: 176.3 kB / 3.483 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-05/8.006, allocations: 180.2 kB / 3.483 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/8.006, allocations: 176.3 kB / 3.483 GB, free: 99.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/8.007, allocations: 437.7 kB / 3.484 GB, free: 99.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/8.007, allocations: 120.9 kB / 3.484 GB, free: 99.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/8.007, allocations: 101 kB / 3.484 GB, free: 99.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.478e-05/8.007, allocations: 176.3 kB / 3.484 GB, free: 99.08 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/8.007, allocations: 180.2 kB / 3.484 GB, free: 98.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.626e-05/8.007, allocations: 188.2 kB / 3.484 GB, free: 98.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-05/8.007, allocations: 188.2 kB / 3.485 GB, free: 98.51 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.211e-05/8.007, allocations: 311.6 kB / 3.485 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/8.007, allocations: 186 kB / 3.485 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/8.007, allocations: 196.2 kB / 3.485 GB, free: 97.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/8.007, allocations: 101.9 kB / 3.485 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/8.007, allocations: 180.3 kB / 3.486 GB, free: 97.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/8.007, allocations: 104.9 kB / 3.486 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.142e-05/8.007, allocations: 115.3 kB / 3.486 GB, free: 97.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/8.007, allocations: 0 / 3.486 GB, free: 97.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003331/8.007, allocations: 71.73 kB / 3.486 GB, free: 97.2 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.0007485/8.008, allocations: 0.7223 MB / 3.487 GB, free: 96.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.295e-05/8.008, allocations: 27.94 kB / 3.487 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/8.008, allocations: 0 / 3.487 GB, free: 96.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-06/8.008, allocations: 3.984 kB / 3.487 GB, free: 96.44 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/8.009, allocations: 0.5233 MB / 3.487 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/8.009, allocations: 274.3 kB / 3.487 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/8.009, allocations: 0.7527 MB / 3.488 GB, free: 94.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.865e-05/8.009, allocations: 16.36 kB / 3.488 GB, free: 94.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/8.009, allocations: 11.44 kB / 3.488 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/8.009, allocations: 0 / 3.488 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.006315/8.016, allocations: 3.978 MB / 3.492 GB, free: 90.84 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches