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.367/2.367, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001523/0.001524, allocations: 180.8 kB / 487.4 MB, free: 5.062 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.649/1.649, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 103.3 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.659e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.559/6.894, allocations: 2.175 GB / 3.381 GB, free: 151.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/6.894, allocations: 84.86 kB / 3.381 GB, free: 151.8 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 0.2642/7.158, allocations: 141.1 MB / 3.519 GB, free: 9.145 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.823e-06/7.158, allocations: 0 / 3.519 GB, free: 9.145 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.251e-05/7.158, allocations: 4 kB / 3.519 GB, free: 9.141 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.0004784/7.159, allocations: 439 kB / 3.519 GB, free: 8.668 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/7.159, allocations: 8.031 kB / 3.519 GB, free: 8.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/7.159, allocations: 27.72 kB / 3.519 GB, free: 8.633 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/7.159, allocations: 267.5 kB / 3.519 GB, free: 8.332 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/7.159, allocations: 8 kB / 3.519 GB, free: 8.324 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/7.159, allocations: 12 kB / 3.519 GB, free: 8.312 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001849/7.16, allocations: 84.86 kB / 3.519 GB, free: 8.23 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/7.16, allocations: 291.4 kB / 3.52 GB, free: 7.879 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/7.16, allocations: 0 / 3.52 GB, free: 7.879 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/7.16, allocations: 4 kB / 3.52 GB, free: 7.875 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/7.16, allocations: 8 kB / 3.52 GB, free: 7.867 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/7.161, allocations: 1.889 MB / 3.522 GB, free: 5.883 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/7.161, allocations: 169.1 kB / 3.522 GB, free: 5.707 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/7.161, allocations: 80.14 kB / 3.522 GB, free: 5.625 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/7.161, allocations: 83.28 kB / 3.522 GB, free: 5.543 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/7.161, allocations: 105.8 kB / 3.522 GB, free: 5.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/7.161, allocations: 4 kB / 3.522 GB, free: 5.426 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.142e-05/7.161, allocations: 37.64 kB / 3.522 GB, free: 5.383 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/7.161, allocations: 51.41 kB / 3.522 GB, free: 5.32 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/7.161, allocations: 146 kB / 3.522 GB, free: 5.168 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/7.162, allocations: 29.64 kB / 3.522 GB, free: 5.133 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/7.162, allocations: 179.4 kB / 3.522 GB, free: 4.953 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/7.162, allocations: 0 / 3.522 GB, free: 4.953 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/7.162, allocations: 224 / 3.522 GB, free: 4.953 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.772e-05/7.162, allocations: 326.8 kB / 3.523 GB, free: 4.625 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/7.162, allocations: 15.94 kB / 3.523 GB, free: 4.609 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/7.162, allocations: 58.84 kB / 3.523 GB, free: 4.527 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.021e-05/7.162, allocations: 8 kB / 3.523 GB, free: 4.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/7.162, allocations: 4 kB / 3.523 GB, free: 4.516 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001416/7.162, allocations: 77.38 kB / 3.523 GB, free: 4.434 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/7.162, allocations: 13.81 kB / 3.523 GB, free: 4.422 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/7.162, allocations: 3.984 kB / 3.523 GB, free: 4.418 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/7.162, allocations: 8.25 kB / 3.523 GB, free: 4.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/7.162, allocations: 12 kB / 3.523 GB, free: 4.398 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/7.162, allocations: 0 / 3.523 GB, free: 4.398 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/7.162, allocations: 7.938 kB / 3.523 GB, free: 4.391 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/7.162, allocations: 8 kB / 3.523 GB, free: 4.383 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.474e-05/7.162, allocations: 184.2 kB / 3.523 GB, free: 4.195 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/7.162, allocations: 120.8 kB / 3.523 GB, free: 4.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/7.162, allocations: 114.2 kB / 3.523 GB, free: 3.957 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/7.162, allocations: 184.2 kB / 3.524 GB, free: 3.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/7.162, allocations: 176.3 kB / 3.524 GB, free: 3.59 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/7.162, allocations: 180.2 kB / 3.524 GB, free: 3.406 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/7.163, allocations: 449.6 kB / 3.524 GB, free: 2.922 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/7.163, allocations: 105 kB / 3.524 GB, free: 2.812 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/7.163, allocations: 105 kB / 3.525 GB, free: 2.703 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/7.163, allocations: 180.2 kB / 3.525 GB, free: 2.52 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/7.163, allocations: 180.2 kB / 3.525 GB, free: 2.336 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.774e-05/7.163, allocations: 184.2 kB / 3.525 GB, free: 2.148 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.653e-05/7.163, allocations: 184.2 kB / 3.525 GB, free: 1.961 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/7.163, allocations: 315.6 kB / 3.526 GB, free: 1.629 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/7.163, allocations: 193.9 kB / 3.526 GB, free: 1.414 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/7.163, allocations: 180.3 kB / 3.526 GB, free: 1.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/7.163, allocations: 101.9 kB / 3.526 GB, free: 1.125 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/7.163, allocations: 184.2 kB / 3.526 GB, free: 0.9375 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/7.163, allocations: 105 kB / 3.526 GB, free: 0.8281 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.092e-05/7.163, allocations: 120.3 kB / 3.526 GB, free: 0.7109 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.163, allocations: 0 / 3.526 GB, free: 0.7109 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003968/7.164, allocations: 71.73 kB / 3.526 GB, free: 0.6406 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.751/7.915, allocations: 0.7182 MB / 3.527 GB, free: 370.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001892/7.915, allocations: 28.08 kB / 3.527 GB, free: 370.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/7.915, allocations: 0.7188 kB / 3.527 GB, free: 370.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/7.915, allocations: 1.156 kB / 3.527 GB, free: 370.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/7.915, allocations: 0.5331 MB / 3.528 GB, free: 370.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/7.916, allocations: 270.5 kB / 3.528 GB, free: 369.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/7.916, allocations: 0.749 MB / 3.529 GB, free: 369.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 6.217e-05/7.916, allocations: 11.28 kB / 3.529 GB, free: 369.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/7.916, allocations: 10.91 kB / 3.529 GB, free: 369.2 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/7.916, allocations: 3.375 kB / 3.529 GB, free: 369.2 MB / 1.151 GB Notification: Performance of Templates: time 0.01039/7.927, allocations: 3.985 MB / 3.533 GB, free: 369.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