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.453/2.453, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00114/0.00114, allocations: 167.4 kB / 498.1 MB, free: 5.766 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.783/1.783, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0009699/0.0009703, allocations: 94.73 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3798, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.737/7.117, allocations: 2.176 GB / 3.398 GB, free: 313.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/7.117, allocations: 94.78 kB / 3.399 GB, free: 313 MB / 1.167 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.2663/7.383, allocations: 142.6 MB / 3.538 GB, free: 168.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.825e-06/7.384, allocations: 0 / 3.538 GB, free: 168.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.635e-05/7.384, allocations: 4 kB / 3.538 GB, free: 168.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.0006309/7.384, allocations: 455.5 kB / 3.538 GB, free: 168.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/7.384, allocations: 8.031 kB / 3.538 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/7.384, allocations: 27.72 kB / 3.538 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/7.385, allocations: 264.8 kB / 3.538 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/7.385, allocations: 12.44 kB / 3.538 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/7.385, allocations: 24 kB / 3.539 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/7.385, allocations: 336.2 kB / 3.539 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/7.385, allocations: 0 / 3.539 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/7.385, allocations: 12 kB / 3.539 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/7.385, allocations: 8 kB / 3.539 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/7.386, allocations: 119.7 kB / 3.539 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/7.387, allocations: 1.981 MB / 3.541 GB, free: 165.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.681e-05/7.387, allocations: 177.1 kB / 3.541 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/7.387, allocations: 79.28 kB / 3.541 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/7.387, allocations: 105.8 kB / 3.541 GB, free: 164.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 2.335e-06/7.387, allocations: 4 kB / 3.541 GB, free: 164.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0001189/7.387, allocations: 53.36 kB / 3.541 GB, free: 164.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/7.387, allocations: 126.7 kB / 3.541 GB, free: 164.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/7.387, allocations: 299.6 kB / 3.542 GB, free: 164.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/7.387, allocations: 25.7 kB / 3.542 GB, free: 164.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9e-05/7.387, allocations: 163.7 kB / 3.542 GB, free: 164.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/7.388, allocations: 4 kB / 3.542 GB, free: 164.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/7.388, allocations: 4 kB / 3.542 GB, free: 164.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/7.388, allocations: 335 kB / 3.542 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/7.388, allocations: 7.984 kB / 3.542 GB, free: 163.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/7.388, allocations: 54.81 kB / 3.542 GB, free: 163.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/7.388, allocations: 19.94 kB / 3.542 GB, free: 163.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/7.388, allocations: 4 kB / 3.542 GB, free: 163.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001944/7.388, allocations: 105.2 kB / 3.542 GB, free: 163.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/7.388, allocations: 8 kB / 3.542 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/7.388, allocations: 4.25 kB / 3.542 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/7.388, allocations: 4 kB / 3.542 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/7.388, allocations: 12 kB / 3.542 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/7.388, allocations: 3.984 kB / 3.542 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/7.388, allocations: 27.59 kB / 3.542 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/7.388, allocations: 7.953 kB / 3.542 GB, free: 163.6 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.0001168/7.388, allocations: 220.8 kB / 3.543 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/7.388, allocations: 116.8 kB / 3.543 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/7.388, allocations: 134 kB / 3.543 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/7.388, allocations: 180.2 kB / 3.543 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/7.389, allocations: 176.3 kB / 3.543 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/7.389, allocations: 180.2 kB / 3.543 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/7.389, allocations: 481.1 kB / 3.544 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/7.389, allocations: 105 kB / 3.544 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/7.389, allocations: 108.9 kB / 3.544 GB, free: 161.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-05/7.389, allocations: 184.3 kB / 3.544 GB, free: 161.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/7.389, allocations: 180.2 kB / 3.544 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.932e-05/7.389, allocations: 176.3 kB / 3.545 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-05/7.389, allocations: 180.2 kB / 3.545 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/7.389, allocations: 339.5 kB / 3.545 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/7.389, allocations: 209.7 kB / 3.545 GB, free: 160.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/7.389, allocations: 177.2 kB / 3.545 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/7.389, allocations: 104.9 kB / 3.546 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/7.389, allocations: 184.3 kB / 3.546 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/7.39, allocations: 104.9 kB / 3.546 GB, free: 159.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001948/7.39, allocations: 239 kB / 3.546 GB, free: 159.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/7.39, allocations: 0 / 3.546 GB, free: 159.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000425/7.39, allocations: 55.98 kB / 3.546 GB, free: 159.6 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.0008256/7.391, allocations: 0.6633 MB / 3.547 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001045/7.391, allocations: 31.92 kB / 3.547 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/7.391, allocations: 3.938 kB / 3.547 GB, free: 158.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/7.391, allocations: 0 / 3.547 GB, free: 158.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/7.392, allocations: 0.5943 MB / 3.547 GB, free: 158.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/7.392, allocations: 461 kB / 3.548 GB, free: 157.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/7.393, allocations: 0.7482 MB / 3.549 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001269/7.393, allocations: 26.28 kB / 3.549 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/7.393, allocations: 19.44 kB / 3.549 GB, free: 157.1 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/7.393, allocations: 0 / 3.549 GB, free: 157.1 MB / 1.167 GB Notification: Performance of Templates: time 0.0143/7.407, allocations: 9.515 MB / 3.558 GB, free: 147.6 MB / 1.167 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