Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.421/2.421, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.00156/0.001561, allocations: 191.8 kB / 0.4902 GB, free: 2.184 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.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009648/0.0009647, allocations: 96.25 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004164, allocations: 10.44 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3384, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.174/6.512, allocations: 2.176 GB / 3.406 GB, free: 216.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/6.513, allocations: 87.45 kB / 3.406 GB, free: 216.2 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.2519/6.764, allocations: 142.6 MB / 3.545 GB, free: 87.81 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.314e-06/6.765, allocations: 7.938 kB / 3.545 GB, free: 87.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.029e-05/6.765, allocations: 7.984 kB / 3.545 GB, free: 87.8 MB / 1.167 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.0005147/6.765, allocations: 455 kB / 3.545 GB, free: 87.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/6.765, allocations: 12.52 kB / 3.545 GB, free: 87.29 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/6.765, allocations: 27.72 kB / 3.545 GB, free: 87.27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/6.766, allocations: 254.6 kB / 3.546 GB, free: 86.98 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/6.766, allocations: 20.44 kB / 3.546 GB, free: 86.96 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/6.766, allocations: 23.98 kB / 3.546 GB, free: 86.93 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/6.766, allocations: 325.1 kB / 3.546 GB, free: 86.55 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/6.766, allocations: 3.938 kB / 3.546 GB, free: 86.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/6.766, allocations: 12 kB / 3.546 GB, free: 86.53 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/6.766, allocations: 12 kB / 3.546 GB, free: 86.52 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/6.766, allocations: 115.8 kB / 3.546 GB, free: 86.41 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/6.767, allocations: 1.989 MB / 3.548 GB, free: 84.31 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/6.767, allocations: 173.2 kB / 3.548 GB, free: 84.13 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/6.767, allocations: 75.28 kB / 3.548 GB, free: 84.05 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/6.767, allocations: 106.1 kB / 3.548 GB, free: 83.94 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/6.767, allocations: 4 kB / 3.548 GB, free: 83.94 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 8.381e-05/6.768, allocations: 57.3 kB / 3.548 GB, free: 83.88 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/6.768, allocations: 130.6 kB / 3.549 GB, free: 83.73 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/6.768, allocations: 303.6 kB / 3.549 GB, free: 83.43 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/6.768, allocations: 25.7 kB / 3.549 GB, free: 83.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/6.768, allocations: 163.7 kB / 3.549 GB, free: 83.24 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/6.768, allocations: 4 kB / 3.549 GB, free: 83.23 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/6.768, allocations: 0 / 3.549 GB, free: 83.23 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/6.768, allocations: 330.8 kB / 3.549 GB, free: 82.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/6.768, allocations: 11.98 kB / 3.549 GB, free: 82.89 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/6.768, allocations: 54.86 kB / 3.549 GB, free: 82.81 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/6.768, allocations: 23.92 kB / 3.549 GB, free: 82.79 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/6.768, allocations: 0 / 3.549 GB, free: 82.79 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001502/6.768, allocations: 97.28 kB / 3.55 GB, free: 82.69 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/6.768, allocations: 8 kB / 3.55 GB, free: 82.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/6.768, allocations: 256 / 3.55 GB, free: 82.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/6.768, allocations: 8 kB / 3.55 GB, free: 82.67 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/6.768, allocations: 19.92 kB / 3.55 GB, free: 82.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/6.768, allocations: 0 / 3.55 GB, free: 82.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/6.769, allocations: 27.69 kB / 3.55 GB, free: 82.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/6.769, allocations: 7.953 kB / 3.55 GB, free: 82.62 MB / 1.167 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.0001179/6.769, allocations: 213 kB / 3.55 GB, free: 82.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/6.769, allocations: 124.7 kB / 3.55 GB, free: 82.27 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/6.769, allocations: 130 kB / 3.55 GB, free: 82.13 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/6.769, allocations: 180.2 kB / 3.55 GB, free: 81.95 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/6.769, allocations: 180.3 kB / 3.55 GB, free: 81.77 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/6.769, allocations: 180.2 kB / 3.551 GB, free: 81.58 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/6.769, allocations: 481 kB / 3.551 GB, free: 81.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/6.769, allocations: 105 kB / 3.551 GB, free: 80.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/6.769, allocations: 112.9 kB / 3.551 GB, free: 80.83 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-05/6.769, allocations: 176.3 kB / 3.551 GB, free: 80.65 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/6.769, allocations: 184.2 kB / 3.552 GB, free: 80.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.654e-05/6.769, allocations: 176.3 kB / 3.552 GB, free: 80.28 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-05/6.769, allocations: 180.3 kB / 3.552 GB, free: 80.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/6.769, allocations: 339.5 kB / 3.552 GB, free: 79.74 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/6.77, allocations: 209.7 kB / 3.552 GB, free: 79.51 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/6.77, allocations: 181.1 kB / 3.553 GB, free: 79.33 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/6.77, allocations: 101 kB / 3.553 GB, free: 79.22 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/6.77, allocations: 188.2 kB / 3.553 GB, free: 79.03 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/6.77, allocations: 105 kB / 3.553 GB, free: 78.92 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001816/6.77, allocations: 235 kB / 3.553 GB, free: 78.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/6.77, allocations: 0 / 3.553 GB, free: 78.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003912/6.77, allocations: 59.98 kB / 3.553 GB, free: 78.64 MB / 1.167 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.0007343/6.771, allocations: 0.6591 MB / 3.554 GB, free: 77.98 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 9.228e-05/6.771, allocations: 31.86 kB / 3.554 GB, free: 77.95 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/6.771, allocations: 0 / 3.554 GB, free: 77.95 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/6.771, allocations: 0 / 3.554 GB, free: 77.95 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/6.772, allocations: 0.6015 MB / 3.555 GB, free: 77.34 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/6.772, allocations: 450.7 kB / 3.555 GB, free: 76.87 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/6.772, allocations: 0.756 MB / 3.556 GB, free: 76.09 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.165e-05/6.773, allocations: 30.22 kB / 3.556 GB, free: 76.05 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/6.773, allocations: 19.44 kB / 3.556 GB, free: 76.03 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/6.773, allocations: 0 / 3.556 GB, free: 76.03 MB / 1.167 GB Notification: Performance of Templates: time 0.01192/6.784, allocations: 9.524 MB / 3.565 GB, free: 66.54 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches