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.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.926 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.001261/0.001261, allocations: 180.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.001173/0.001174, allocations: 101.7 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.686e-05/1.689e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2665, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.245/7.511, allocations: 2.446 GB / 3.331 GB, free: 309.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/7.512, allocations: 91.11 kB / 3.331 GB, free: 309.2 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.2266/7.738, allocations: 136.4 MB / 3.465 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.814e-06/7.738, allocations: 4 kB / 3.465 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.571e-05/7.738, allocations: 4 kB / 3.465 GB, free: 171.3 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.0003168/7.739, allocations: 402.1 kB / 3.465 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/7.739, allocations: 8.031 kB / 3.465 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/7.739, allocations: 27.67 kB / 3.465 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/7.739, allocations: 239.3 kB / 3.465 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/7.739, allocations: 4 kB / 3.465 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/7.739, allocations: 12 kB / 3.465 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.324e-05/7.739, allocations: 44.62 kB / 3.465 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/7.739, allocations: 215.6 kB / 3.466 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/7.739, allocations: 7.938 kB / 3.466 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/7.739, allocations: 0 / 3.466 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/7.74, allocations: 7.953 kB / 3.466 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/7.74, allocations: 1.525 MB / 3.467 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.318e-05/7.74, allocations: 170.5 kB / 3.467 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/7.74, allocations: 84.08 kB / 3.467 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/7.74, allocations: 75.28 kB / 3.467 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/7.74, allocations: 118 kB / 3.468 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/7.74, allocations: 0 / 3.468 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/7.74, allocations: 41.55 kB / 3.468 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/7.74, allocations: 51.41 kB / 3.468 GB, free: 168 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/7.741, allocations: 132.2 kB / 3.468 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/7.741, allocations: 29.64 kB / 3.468 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/7.741, allocations: 163.2 kB / 3.468 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/7.741, allocations: 0 / 3.468 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/7.741, allocations: 0 / 3.468 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/7.741, allocations: 322.8 kB / 3.468 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/7.741, allocations: 4 kB / 3.468 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/7.741, allocations: 49.95 kB / 3.468 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/7.741, allocations: 12 kB / 3.468 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/7.741, allocations: 7.953 kB / 3.468 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001135/7.741, allocations: 65.47 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/7.741, allocations: 7.984 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/7.741, allocations: 4 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/7.741, allocations: 4 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/7.741, allocations: 12 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/7.741, allocations: 8.156 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/7.741, allocations: 11.84 kB / 3.468 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/7.741, allocations: 4 kB / 3.468 GB, free: 167.2 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 6.004e-05/7.741, allocations: 181.2 kB / 3.469 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/7.741, allocations: 116.8 kB / 3.469 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/7.741, allocations: 122.1 kB / 3.469 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/7.741, allocations: 176.3 kB / 3.469 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/7.741, allocations: 180.3 kB / 3.469 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/7.741, allocations: 184.2 kB / 3.469 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/7.741, allocations: 421.8 kB / 3.47 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/7.742, allocations: 105 kB / 3.47 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/7.742, allocations: 108.9 kB / 3.47 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-05/7.742, allocations: 184.2 kB / 3.47 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/7.742, allocations: 176.3 kB / 3.47 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.079e-05/7.742, allocations: 188.2 kB / 3.47 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-05/7.742, allocations: 176.3 kB / 3.471 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.342e-05/7.742, allocations: 315.7 kB / 3.471 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/7.742, allocations: 186 kB / 3.471 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/7.742, allocations: 180.2 kB / 3.471 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/7.742, allocations: 113.8 kB / 3.471 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/7.742, allocations: 180.3 kB / 3.472 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/7.742, allocations: 101 kB / 3.472 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.787e-05/7.742, allocations: 116 kB / 3.472 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/7.742, allocations: 4 kB / 3.472 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003017/7.742, allocations: 59.83 kB / 3.472 GB, free: 163.5 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.0006777/7.743, allocations: 0.7407 MB / 3.473 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.651e-05/7.743, allocations: 23.92 kB / 3.473 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/7.743, allocations: 0 / 3.473 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/7.743, allocations: 4.375 kB / 3.473 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/7.743, allocations: 0.5302 MB / 3.473 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/7.744, allocations: 208.1 kB / 3.473 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/7.744, allocations: 0.7197 MB / 3.474 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.104e-05/7.744, allocations: 8.422 kB / 3.474 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/7.744, allocations: 11.44 kB / 3.474 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/7.744, allocations: 0 / 3.474 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.006331/7.75, allocations: 3.935 MB / 3.478 GB, free: 157.2 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