Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.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_9_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_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001069/0.001069, allocations: 183 kB / 492.3 MB, free: 0.6055 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.597/1.597, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.000932, allocations: 94.58 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.293e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3149, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.33/6.645, allocations: 2.175 GB / 3.388 GB, free: 103.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/6.645, allocations: 93.45 kB / 3.388 GB, free: 103.7 MB / 1.151 GB [/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$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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 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$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 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$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 9.1.1-maint.9.1.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 1.072/7.718, allocations: 141.9 MB / 3.527 GB, free: 380.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.293e-06/7.718, allocations: 0 / 3.527 GB, free: 380.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.997e-05/7.718, allocations: 8.969 kB / 3.527 GB, free: 380.8 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003648/7.718, allocations: 443.9 kB / 3.527 GB, free: 380.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/7.718, allocations: 9.5 kB / 3.527 GB, free: 380.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/7.718, allocations: 26.34 kB / 3.527 GB, free: 380.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/7.719, allocations: 258.2 kB / 3.527 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/7.719, allocations: 19.66 kB / 3.527 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/7.719, allocations: 21.75 kB / 3.527 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/7.719, allocations: 323.7 kB / 3.528 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/7.719, allocations: 3.531 kB / 3.528 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/7.719, allocations: 9.531 kB / 3.528 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/7.719, allocations: 10.77 kB / 3.528 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/7.719, allocations: 121.7 kB / 3.528 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/7.72, allocations: 1.99 MB / 3.53 GB, free: 378.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/7.72, allocations: 166.1 kB / 3.53 GB, free: 378.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/7.72, allocations: 84.02 kB / 3.53 GB, free: 378.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/7.72, allocations: 75.28 kB / 3.53 GB, free: 378 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/7.72, allocations: 110.8 kB / 3.53 GB, free: 377.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/7.72, allocations: 0 / 3.53 GB, free: 377.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.615e-05/7.721, allocations: 50.48 kB / 3.53 GB, free: 377.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/7.721, allocations: 130 kB / 3.53 GB, free: 377.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/7.721, allocations: 298.1 kB / 3.531 GB, free: 377.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/7.721, allocations: 25.7 kB / 3.531 GB, free: 377.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/7.721, allocations: 165.6 kB / 3.531 GB, free: 377.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/7.721, allocations: 1.281 kB / 3.531 GB, free: 377.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/7.721, allocations: 0 / 3.531 GB, free: 377.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/7.721, allocations: 335.9 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/7.721, allocations: 5.312 kB / 3.531 GB, free: 377.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/7.721, allocations: 60.2 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/7.721, allocations: 17.38 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/7.721, allocations: 0.75 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000177/7.721, allocations: 108.6 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/7.721, allocations: 7.188 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/7.721, allocations: 2 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/7.722, allocations: 3.031 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/7.722, allocations: 13.91 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/7.722, allocations: 5.875 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/7.722, allocations: 26.38 kB / 3.531 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/7.722, allocations: 3.844 kB / 3.531 GB, free: 377.1 MB / 1.151 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.734e-05/7.722, allocations: 187.4 kB / 3.532 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/7.722, allocations: 133.4 kB / 3.532 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/7.722, allocations: 125.9 kB / 3.532 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/7.722, allocations: 178.9 kB / 3.532 GB, free: 376.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/7.722, allocations: 179.9 kB / 3.532 GB, free: 376.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/7.722, allocations: 179.8 kB / 3.532 GB, free: 376.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/7.722, allocations: 477.3 kB / 3.533 GB, free: 375.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/7.722, allocations: 110.5 kB / 3.533 GB, free: 375.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/7.722, allocations: 108.6 kB / 3.533 GB, free: 375.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.927e-05/7.722, allocations: 183.6 kB / 3.533 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/7.722, allocations: 180.1 kB / 3.533 GB, free: 375.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/7.722, allocations: 180.4 kB / 3.533 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-05/7.722, allocations: 188.8 kB / 3.534 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.007e-05/7.723, allocations: 319.8 kB / 3.534 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/7.723, allocations: 210.8 kB / 3.534 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/7.723, allocations: 185.5 kB / 3.534 GB, free: 374 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/7.723, allocations: 105 kB / 3.534 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/7.723, allocations: 186.2 kB / 3.535 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/7.723, allocations: 102 kB / 3.535 GB, free: 373.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002075/7.723, allocations: 240.3 kB / 3.535 GB, free: 373.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.723, allocations: 0 / 3.535 GB, free: 373.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003749/7.723, allocations: 57.05 kB / 3.535 GB, free: 373.6 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.0007415/7.724, allocations: 0.6565 MB / 3.536 GB, free: 373.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.74e-05/7.724, allocations: 27.97 kB / 3.536 GB, free: 373.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/7.724, allocations: 1.062 kB / 3.536 GB, free: 373.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/7.724, allocations: 0 / 3.536 GB, free: 373.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/7.725, allocations: 0.5932 MB / 3.536 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/7.725, allocations: 285.7 kB / 3.537 GB, free: 372.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/7.725, allocations: 0.754 MB / 3.537 GB, free: 372 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 8.786e-05/7.726, allocations: 32.39 kB / 3.537 GB, free: 372 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/7.726, allocations: 17.56 kB / 3.537 GB, free: 371.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/7.726, allocations: 0 / 3.537 GB, free: 371.9 MB / 1.151 GB Notification: Performance of Templates: time 0.01721/7.743, allocations: 11.1 MB / 3.548 GB, free: 371.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches