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.459/1.459, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001046/0.001046, allocations: 172.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008947/0.0008948, allocations: 90.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.273e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.949/7.214, allocations: 2.454 GB / 3.346 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/7.214, allocations: 82.7 kB / 3.346 GB, free: 198.7 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/7.453, allocations: 142.3 MB / 3.485 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.092e-06/7.454, allocations: 0 / 3.485 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.675e-05/7.454, allocations: 8 kB / 3.485 GB, free: 62.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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003228/7.454, allocations: 430.4 kB / 3.486 GB, free: 61.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/7.454, allocations: 12.03 kB / 3.486 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/7.454, allocations: 31.72 kB / 3.486 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/7.454, allocations: 266.4 kB / 3.486 GB, free: 61.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/7.454, allocations: 12.44 kB / 3.486 GB, free: 61.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/7.454, allocations: 20 kB / 3.486 GB, free: 61.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/7.455, allocations: 324.7 kB / 3.486 GB, free: 61.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/7.455, allocations: 8 kB / 3.486 GB, free: 61.04 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/7.455, allocations: 8 kB / 3.486 GB, free: 61.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/7.455, allocations: 4 kB / 3.486 GB, free: 61.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/7.455, allocations: 123.7 kB / 3.486 GB, free: 60.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/7.456, allocations: 1.992 MB / 3.488 GB, free: 58.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/7.456, allocations: 165.4 kB / 3.489 GB, free: 58.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/7.456, allocations: 84.08 kB / 3.489 GB, free: 58.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/7.456, allocations: 83.22 kB / 3.489 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/7.456, allocations: 109.8 kB / 3.489 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/7.456, allocations: 0 / 3.489 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.808e-05/7.456, allocations: 53.41 kB / 3.489 GB, free: 58.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/7.456, allocations: 126.7 kB / 3.489 GB, free: 58.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/7.456, allocations: 290.7 kB / 3.489 GB, free: 57.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/7.456, allocations: 25.7 kB / 3.489 GB, free: 57.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/7.456, allocations: 167.7 kB / 3.489 GB, free: 57.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/7.456, allocations: 0 / 3.489 GB, free: 57.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/7.456, allocations: 0 / 3.489 GB, free: 57.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/7.456, allocations: 342.8 kB / 3.49 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/7.456, allocations: 7.938 kB / 3.49 GB, free: 57.31 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/7.456, allocations: 50.88 kB / 3.49 GB, free: 57.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/7.456, allocations: 19.98 kB / 3.49 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/7.456, allocations: 0 / 3.49 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000132/7.457, allocations: 105.2 kB / 3.49 GB, free: 57.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/7.457, allocations: 11.94 kB / 3.49 GB, free: 57.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/7.457, allocations: 0 / 3.49 GB, free: 57.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/7.457, allocations: 4 kB / 3.49 GB, free: 57.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/7.457, allocations: 15.98 kB / 3.49 GB, free: 57.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/7.457, allocations: 11.94 kB / 3.49 GB, free: 57.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/7.457, allocations: 19.69 kB / 3.49 GB, free: 57.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/7.457, allocations: 4 kB / 3.49 GB, free: 57.04 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.508e-05/7.457, allocations: 196.4 kB / 3.49 GB, free: 56.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/7.457, allocations: 128.6 kB / 3.49 GB, free: 56.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/7.457, allocations: 122 kB / 3.49 GB, free: 56.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/7.457, allocations: 180.3 kB / 3.491 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.506e-05/7.457, allocations: 184.2 kB / 3.491 GB, free: 56.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/7.457, allocations: 184.3 kB / 3.491 GB, free: 56.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/7.457, allocations: 481 kB / 3.491 GB, free: 55.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/7.457, allocations: 101 kB / 3.492 GB, free: 55.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/7.457, allocations: 105 kB / 3.492 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/7.457, allocations: 180.2 kB / 3.492 GB, free: 55.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/7.457, allocations: 180.3 kB / 3.492 GB, free: 54.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.701e-05/7.457, allocations: 188.2 kB / 3.492 GB, free: 54.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-05/7.457, allocations: 188.2 kB / 3.492 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.434e-05/7.458, allocations: 323.4 kB / 3.493 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/7.458, allocations: 205.8 kB / 3.493 GB, free: 53.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/7.458, allocations: 185.2 kB / 3.493 GB, free: 53.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/7.458, allocations: 109 kB / 3.493 GB, free: 53.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/7.458, allocations: 176.3 kB / 3.493 GB, free: 53.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/7.458, allocations: 108.9 kB / 3.493 GB, free: 53.36 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001593/7.458, allocations: 234.2 kB / 3.494 GB, free: 53.14 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.458, allocations: 0 / 3.494 GB, free: 53.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003434/7.458, allocations: 59.98 kB / 3.494 GB, free: 53.08 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.0005916/7.459, allocations: 0.6647 MB / 3.494 GB, free: 52.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.964e-05/7.459, allocations: 19.94 kB / 3.494 GB, free: 52.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/7.459, allocations: 4.5 kB / 3.494 GB, free: 52.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-06/7.459, allocations: 0 / 3.494 GB, free: 52.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/7.459, allocations: 0.6011 MB / 3.495 GB, free: 51.78 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/7.46, allocations: 290.5 kB / 3.495 GB, free: 51.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/7.46, allocations: 0.748 MB / 3.496 GB, free: 50.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.7e-05/7.46, allocations: 26.06 kB / 3.496 GB, free: 50.67 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/7.46, allocations: 19.44 kB / 3.496 GB, free: 50.65 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/7.46, allocations: 4 kB / 3.496 GB, free: 50.65 MB / 0.8698 GB Notification: Performance of Templates: time 0.01283/7.473, allocations: 11.07 MB / 3.507 GB, free: 39.59 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