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.3/2.3, allocations: 390.5 MB / 398 MB, free: 10.95 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.00132/0.00132, allocations: 172.8 kB / 491.2 MB, free: 1.594 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.65/1.65, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001013/0.001013, allocations: 83.92 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.268e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3324, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/6.839, allocations: 2.176 GB / 3.388 GB, free: 113.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/6.839, allocations: 83.45 kB / 3.388 GB, free: 113.2 MB / 1.151 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 1.191/8.03, allocations: 141.1 MB / 3.526 GB, free: 376.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.919e-06/8.03, allocations: 3.25 kB / 3.526 GB, free: 376.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.179e-05/8.03, allocations: 8.75 kB / 3.526 GB, free: 376.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.0005904/8.031, allocations: 436.7 kB / 3.526 GB, free: 376.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/8.031, allocations: 9.156 kB / 3.526 GB, free: 376.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/8.031, allocations: 26.94 kB / 3.526 GB, free: 376.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/8.031, allocations: 262.1 kB / 3.527 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/8.031, allocations: 8.594 kB / 3.527 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/8.031, allocations: 12.47 kB / 3.527 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002515/8.032, allocations: 89.33 kB / 3.527 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/8.032, allocations: 297.4 kB / 3.527 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/8.032, allocations: 5.234 kB / 3.527 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/8.032, allocations: 4.688 kB / 3.527 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/8.032, allocations: 6.594 kB / 3.527 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/8.034, allocations: 1.881 MB / 3.529 GB, free: 374.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/8.034, allocations: 172.5 kB / 3.529 GB, free: 374.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/8.034, allocations: 81.27 kB / 3.529 GB, free: 374.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/8.034, allocations: 78.75 kB / 3.529 GB, free: 374.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/8.034, allocations: 105.8 kB / 3.529 GB, free: 374 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/8.034, allocations: 5.031 kB / 3.529 GB, free: 374 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001068/8.034, allocations: 38.05 kB / 3.529 GB, free: 373.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/8.034, allocations: 53.34 kB / 3.529 GB, free: 373.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/8.034, allocations: 143 kB / 3.529 GB, free: 373.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/8.034, allocations: 25.7 kB / 3.529 GB, free: 373.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/8.034, allocations: 182.6 kB / 3.53 GB, free: 373.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/8.034, allocations: 1.031 kB / 3.53 GB, free: 373.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/8.034, allocations: 0 / 3.53 GB, free: 373.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001093/8.035, allocations: 322.8 kB / 3.53 GB, free: 373.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/8.035, allocations: 4.125 kB / 3.53 GB, free: 373.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/8.035, allocations: 57.94 kB / 3.53 GB, free: 373.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/8.035, allocations: 14.53 kB / 3.53 GB, free: 373.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/8.035, allocations: 1 kB / 3.53 GB, free: 373.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002027/8.035, allocations: 87.3 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/8.035, allocations: 6.094 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/8.035, allocations: 2.094 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/8.035, allocations: 3.094 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/8.035, allocations: 14.88 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/8.035, allocations: 6.359 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/8.035, allocations: 16.39 kB / 3.53 GB, free: 373.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/8.035, allocations: 3.906 kB / 3.53 GB, free: 373.2 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 9.703e-05/8.035, allocations: 177.7 kB / 3.53 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/8.035, allocations: 117.5 kB / 3.53 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/8.036, allocations: 116.8 kB / 3.53 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001317/8.036, allocations: 181.5 kB / 3.531 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.689e-05/8.036, allocations: 182.4 kB / 3.531 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-05/8.036, allocations: 180.1 kB / 3.531 GB, free: 372.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/8.036, allocations: 447.9 kB / 3.531 GB, free: 371.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/8.036, allocations: 106 kB / 3.532 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/8.036, allocations: 101.9 kB / 3.532 GB, free: 371.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-05/8.036, allocations: 186.2 kB / 3.532 GB, free: 371.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/8.036, allocations: 180.2 kB / 3.532 GB, free: 371.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.015e-05/8.036, allocations: 181.2 kB / 3.532 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-05/8.036, allocations: 183.9 kB / 3.532 GB, free: 370.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/8.037, allocations: 314.6 kB / 3.533 GB, free: 370.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/8.037, allocations: 188.4 kB / 3.533 GB, free: 370.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/8.037, allocations: 177.3 kB / 3.533 GB, free: 370.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/8.037, allocations: 109.8 kB / 3.533 GB, free: 370.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/8.037, allocations: 185.2 kB / 3.533 GB, free: 369.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/8.037, allocations: 108.7 kB / 3.533 GB, free: 369.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.912e-05/8.037, allocations: 120.3 kB / 3.533 GB, free: 369.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/8.037, allocations: 0 / 3.533 GB, free: 369.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004598/8.038, allocations: 67.36 kB / 3.534 GB, free: 369.8 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.001372/8.039, allocations: 0.7312 MB / 3.534 GB, free: 369.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001332/8.039, allocations: 21.98 kB / 3.534 GB, free: 369.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/8.039, allocations: 1.344 kB / 3.534 GB, free: 369.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/8.039, allocations: 3.969 kB / 3.534 GB, free: 369.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/8.039, allocations: 0.524 MB / 3.535 GB, free: 369 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/8.04, allocations: 277.2 kB / 3.535 GB, free: 368.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/8.04, allocations: 0.7502 MB / 3.536 GB, free: 368.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 6.612e-05/8.04, allocations: 9.938 kB / 3.536 GB, free: 368.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/8.041, allocations: 10.16 kB / 3.536 GB, free: 368.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.166e-06/8.041, allocations: 1.094 kB / 3.536 GB, free: 368.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01138/8.052, allocations: 4.001 MB / 3.54 GB, free: 367.8 MB / 1.151 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