Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 95.69 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.457e-05, allocations: 0 / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.484/6.726, allocations: 2.446 GB / 3.338 GB, free: 268.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/6.727, allocations: 83.95 kB / 3.338 GB, free: 268.4 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2304/6.957, allocations: 137.3 MB / 3.472 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.302e-06/6.957, allocations: 0 / 3.472 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.604e-05/6.957, allocations: 4 kB / 3.472 GB, free: 129.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0002972/6.957, allocations: 406.1 kB / 3.472 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/6.957, allocations: 8.031 kB / 3.472 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/6.957, allocations: 27.67 kB / 3.472 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/6.958, allocations: 243.3 kB / 3.473 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/6.958, allocations: 8 kB / 3.473 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/6.958, allocations: 16 kB / 3.473 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/6.958, allocations: 236.5 kB / 3.473 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/6.958, allocations: 0 / 3.473 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/6.958, allocations: 8 kB / 3.473 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/6.958, allocations: 4 kB / 3.473 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/6.958, allocations: 71.77 kB / 3.473 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/6.959, allocations: 1.59 MB / 3.474 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/6.959, allocations: 177.1 kB / 3.475 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/6.959, allocations: 80.14 kB / 3.475 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/6.959, allocations: 75.28 kB / 3.475 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/6.959, allocations: 113.8 kB / 3.475 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/6.959, allocations: 4.219 kB / 3.475 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.728e-05/6.959, allocations: 49.5 kB / 3.475 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/6.959, allocations: 130.6 kB / 3.475 GB, free: 126 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/6.959, allocations: 222.9 kB / 3.475 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/6.959, allocations: 25.7 kB / 3.475 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/6.959, allocations: 135.8 kB / 3.475 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/6.959, allocations: 3.984 kB / 3.475 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/6.959, allocations: 4 kB / 3.475 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/6.959, allocations: 330.8 kB / 3.476 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/6.959, allocations: 8 kB / 3.476 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/6.959, allocations: 49.95 kB / 3.476 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/6.96, allocations: 15.98 kB / 3.476 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/6.96, allocations: 0 / 3.476 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/6.96, allocations: 85.38 kB / 3.476 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/6.96, allocations: 8 kB / 3.476 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/6.96, allocations: 0 / 3.476 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/6.96, allocations: 4.219 kB / 3.476 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/6.96, allocations: 15.94 kB / 3.476 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/6.96, allocations: 7.984 kB / 3.476 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/6.96, allocations: 19.69 kB / 3.476 GB, free: 125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/6.96, allocations: 4 kB / 3.476 GB, free: 125 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.833e-05/6.96, allocations: 188.2 kB / 3.476 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/6.96, allocations: 124.8 kB / 3.476 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/6.96, allocations: 121.6 kB / 3.476 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/6.96, allocations: 188.2 kB / 3.476 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/6.96, allocations: 176.3 kB / 3.477 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/6.96, allocations: 180.3 kB / 3.477 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/6.96, allocations: 457 kB / 3.477 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/6.96, allocations: 105 kB / 3.477 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/6.96, allocations: 108.9 kB / 3.477 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/6.96, allocations: 180.3 kB / 3.478 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/6.96, allocations: 180.3 kB / 3.478 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/6.96, allocations: 184.2 kB / 3.478 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-05/6.96, allocations: 176.3 kB / 3.478 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.31e-05/6.961, allocations: 327.6 kB / 3.478 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/6.961, allocations: 197.8 kB / 3.479 GB, free: 122 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/6.961, allocations: 189.1 kB / 3.479 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/6.961, allocations: 101 kB / 3.479 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/6.961, allocations: 200.1 kB / 3.479 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/6.961, allocations: 105 kB / 3.479 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001066/6.961, allocations: 175.1 kB / 3.479 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/6.961, allocations: 0 / 3.479 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003211/6.961, allocations: 51.98 kB / 3.479 GB, free: 121.2 MB / 0.8698 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.0006082/6.962, allocations: 0.6491 MB / 3.48 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.449e-05/6.962, allocations: 27.94 kB / 3.48 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/6.962, allocations: 0 / 3.48 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/6.962, allocations: 7.938 kB / 3.48 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/6.962, allocations: 0.574 MB / 3.481 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/6.963, allocations: 225 kB / 3.481 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/6.963, allocations: 0.7205 MB / 3.482 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.122e-05/6.963, allocations: 17.53 kB / 3.482 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/6.963, allocations: 15.44 kB / 3.482 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/6.963, allocations: 7.938 kB / 3.482 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.01191/6.975, allocations: 10.38 MB / 3.492 GB, free: 108.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches