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.331/1.331, allocations: 252 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 179.5 kB / 326.5 MB, free: 2.262 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.841/1.841, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008738/0.0008737, allocations: 93.97 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 8.969 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.318/6.568, allocations: 2.454 GB / 3.355 GB, free: 57.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/6.568, allocations: 87.02 kB / 3.355 GB, free: 57.76 MB / 0.8855 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.7695/7.338, allocations: 142.9 MB / 3.494 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.764e-06/7.338, allocations: 0 / 3.494 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.612e-05/7.338, allocations: 8 kB / 3.494 GB, free: 285.2 MB / 0.8855 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.0005126/7.339, allocations: 455.5 kB / 3.495 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/7.339, allocations: 12.03 kB / 3.495 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/7.339, allocations: 27.5 kB / 3.495 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/7.339, allocations: 271.9 kB / 3.495 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/7.339, allocations: 12.44 kB / 3.495 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/7.339, allocations: 24 kB / 3.495 GB, free: 284.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/7.34, allocations: 324.3 kB / 3.495 GB, free: 284 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/7.34, allocations: 0 / 3.495 GB, free: 284 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/7.34, allocations: 8 kB / 3.495 GB, free: 284 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/7.34, allocations: 11.95 kB / 3.495 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/7.34, allocations: 127.7 kB / 3.495 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/7.341, allocations: 1.98 MB / 3.497 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/7.341, allocations: 177.1 kB / 3.498 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/7.341, allocations: 75.28 kB / 3.498 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/7.341, allocations: 109.8 kB / 3.498 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/7.341, allocations: 0 / 3.498 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001069/7.341, allocations: 49.42 kB / 3.498 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/7.341, allocations: 130.7 kB / 3.498 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/7.342, allocations: 291.7 kB / 3.498 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/7.342, allocations: 29.7 kB / 3.498 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/7.342, allocations: 159.9 kB / 3.498 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/7.342, allocations: 4 kB / 3.498 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/7.342, allocations: 4.219 kB / 3.498 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/7.342, allocations: 338.8 kB / 3.499 GB, free: 280.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/7.342, allocations: 11.94 kB / 3.499 GB, free: 280.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/7.342, allocations: 57.83 kB / 3.499 GB, free: 280.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/7.342, allocations: 16 kB / 3.499 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/7.342, allocations: 0 / 3.499 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001618/7.342, allocations: 109.3 kB / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/7.342, allocations: 4 kB / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/7.342, allocations: 4 kB / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/7.342, allocations: 0 / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/7.342, allocations: 15.98 kB / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/7.342, allocations: 11.88 kB / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/7.342, allocations: 23.69 kB / 3.499 GB, free: 280.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/7.342, allocations: 8 kB / 3.499 GB, free: 280.1 MB / 0.8855 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 () * Number of clocked 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 0.0001143/7.342, allocations: 213.2 kB / 3.499 GB, free: 279.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/7.343, allocations: 136.6 kB / 3.499 GB, free: 279.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/7.343, allocations: 122.7 kB / 3.499 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/7.343, allocations: 176.3 kB / 3.5 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/7.343, allocations: 188.2 kB / 3.5 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/7.343, allocations: 176.3 kB / 3.5 GB, free: 279 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/7.343, allocations: 481.1 kB / 3.5 GB, free: 278.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/7.343, allocations: 109.1 kB / 3.501 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/7.343, allocations: 109 kB / 3.501 GB, free: 278.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.672e-05/7.343, allocations: 184.2 kB / 3.501 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/7.343, allocations: 176.3 kB / 3.501 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.343e-05/7.343, allocations: 180.2 kB / 3.501 GB, free: 277.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.575e-05/7.343, allocations: 188.2 kB / 3.501 GB, free: 277.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/7.343, allocations: 325.2 kB / 3.502 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/7.343, allocations: 205.8 kB / 3.502 GB, free: 277 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/7.343, allocations: 184.2 kB / 3.502 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.282e-05/7.344, allocations: 109 kB / 3.502 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/7.344, allocations: 180.2 kB / 3.502 GB, free: 276.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/7.344, allocations: 104.9 kB / 3.502 GB, free: 276.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001792/7.344, allocations: 239 kB / 3.503 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/7.344, allocations: 0 / 3.503 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003968/7.344, allocations: 55.98 kB / 3.503 GB, free: 276.1 MB / 0.8855 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 () * Number of clocked 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.0007415/7.345, allocations: 0.6526 MB / 3.503 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.498e-05/7.345, allocations: 27.88 kB / 3.503 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/7.345, allocations: 0 / 3.503 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/7.345, allocations: 0 / 3.503 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/7.346, allocations: 0.5976 MB / 3.504 GB, free: 274.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/7.346, allocations: 442.7 kB / 3.504 GB, free: 274.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/7.346, allocations: 0.7521 MB / 3.505 GB, free: 273.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001067/7.347, allocations: 30.28 kB / 3.505 GB, free: 273.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/7.347, allocations: 15.44 kB / 3.505 GB, free: 273.6 MB / 0.8855 GB Notification: Performance of SimCode: time 7.21e-07/7.347, allocations: 0 / 3.505 GB, free: 273.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.01341/7.36, allocations: 9.503 MB / 3.514 GB, free: 264.1 MB / 0.8855 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