Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 108 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002401/0.002401, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.231/3.231, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.98 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3274, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2063/0.5337, allocations: 177.5 MB / 1.521 GB, free: 7.789 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.545, allocations: 9.569 MB / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.5454, allocations: 11.94 kB / 1.53 GB, free: 14.18 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.5461, allocations: 194.7 kB / 1.531 GB, free: 13.99 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.5464, allocations: 99.3 kB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.5466, allocations: 63.92 kB / 1.531 GB, free: 13.83 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.547, allocations: 318.5 kB / 1.531 GB, free: 13.52 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.5473, allocations: 112.6 kB / 1.531 GB, free: 13.4 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.5477, allocations: 159.4 kB / 1.531 GB, free: 13.25 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.5478, allocations: 103.5 kB / 1.531 GB, free: 13.14 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.5478, allocations: 19.94 kB / 1.531 GB, free: 13.12 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.5478, allocations: 16 kB / 1.531 GB, free: 13.11 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.5479, allocations: 39.84 kB / 1.532 GB, free: 13.07 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.548, allocations: 103.5 kB / 1.532 GB, free: 12.97 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.5483, allocations: 211 kB / 1.532 GB, free: 12.76 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5483, allocations: 7.984 kB / 1.532 GB, free: 12.75 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5483, allocations: 0 / 1.532 GB, free: 12.75 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5483, allocations: 0 / 1.532 GB, free: 12.75 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005208/0.5488, allocations: 486.7 kB / 1.532 GB, free: 12.23 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5489, allocations: 11.98 kB / 1.532 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.5489, allocations: 58.55 kB / 1.532 GB, free: 12.15 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.549, allocations: 27.8 kB / 1.532 GB, free: 12.12 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.5493, allocations: 262.6 kB / 1.533 GB, free: 11.83 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5493, allocations: 12.44 kB / 1.533 GB, free: 11.82 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.5494, allocations: 24 kB / 1.533 GB, free: 11.79 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.5497, allocations: 231.8 kB / 1.533 GB, free: 11.53 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5497, allocations: 3.938 kB / 1.533 GB, free: 11.53 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.5497, allocations: 11.94 kB / 1.533 GB, free: 11.52 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5497, allocations: 4 kB / 1.533 GB, free: 11.51 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.5499, allocations: 95.78 kB / 1.533 GB, free: 11.42 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.551, allocations: 1.433 MB / 1.534 GB, free: 9.898 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/0.5511, allocations: 165.1 kB / 1.535 GB, free: 9.727 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.5512, allocations: 88.12 kB / 1.535 GB, free: 9.637 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.5512, allocations: 75.28 kB / 1.535 GB, free: 9.562 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.5512, allocations: 117.8 kB / 1.535 GB, free: 9.438 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.5512, allocations: 0 / 1.535 GB, free: 9.438 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 9.127e-05/0.5513, allocations: 45.56 kB / 1.535 GB, free: 9.387 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.5514, allocations: 126.7 kB / 1.535 GB, free: 9.25 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.5517, allocations: 287 kB / 1.535 GB, free: 8.957 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.5517, allocations: 25.7 kB / 1.535 GB, free: 8.926 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.5519, allocations: 151.9 kB / 1.535 GB, free: 8.773 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.5519, allocations: 4 kB / 1.535 GB, free: 8.77 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.5519, allocations: 13.72 kB / 1.535 GB, free: 8.75 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.552, allocations: 338.8 kB / 1.536 GB, free: 8.41 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.5521, allocations: 4 kB / 1.536 GB, free: 8.406 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.5521, allocations: 23.44 kB / 1.536 GB, free: 8.371 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.5521, allocations: 35.38 kB / 1.536 GB, free: 8.324 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5521, allocations: 4 kB / 1.536 GB, free: 8.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.5523, allocations: 77.42 kB / 1.536 GB, free: 8.238 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5523, allocations: 6.5 kB / 1.536 GB, free: 8.234 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5523, allocations: 0 / 1.536 GB, free: 8.234 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5523, allocations: 8.219 kB / 1.536 GB, free: 8.227 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.5524, allocations: 11.98 kB / 1.536 GB, free: 8.215 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5524, allocations: 0 / 1.536 GB, free: 8.215 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.5525, allocations: 27.77 kB / 1.536 GB, free: 8.188 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.5525, allocations: 0 / 1.536 GB, free: 8.188 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.5526, allocations: 201.1 kB / 1.536 GB, free: 7.98 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.5527, allocations: 128.8 kB / 1.536 GB, free: 7.848 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.5528, allocations: 121.9 kB / 1.536 GB, free: 7.723 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-05/0.5528, allocations: 184.3 kB / 1.537 GB, free: 7.535 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/0.5529, allocations: 188.2 kB / 1.537 GB, free: 7.344 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-05/0.553, allocations: 180.2 kB / 1.537 GB, free: 7.16 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.5533, allocations: 477.2 kB / 1.537 GB, free: 6.637 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.757e-05/0.5534, allocations: 105 kB / 1.537 GB, free: 6.527 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.5534, allocations: 108.9 kB / 1.538 GB, free: 6.414 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.677e-05/0.5535, allocations: 184.2 kB / 1.538 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.5536, allocations: 180.3 kB / 1.538 GB, free: 6.043 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.486e-05/0.5536, allocations: 184.2 kB / 1.538 GB, free: 5.855 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.078e-05/0.5537, allocations: 176.3 kB / 1.538 GB, free: 5.676 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.5539, allocations: 335.5 kB / 1.539 GB, free: 5.324 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.554, allocations: 202 kB / 1.539 GB, free: 5.102 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.97e-05/0.5541, allocations: 184.2 kB / 1.539 GB, free: 4.914 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5542, allocations: 101 kB / 1.539 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.5543, allocations: 180.2 kB / 1.539 GB, free: 4.625 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.5543, allocations: 109 kB / 1.539 GB, free: 4.512 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002133/0.5546, allocations: 206 kB / 1.54 GB, free: 4.312 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5546, allocations: 0 / 1.54 GB, free: 4.312 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0002546/0.5548, allocations: 27.94 kB / 1.54 GB, free: 4.285 MB / 1.232 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004703/0.5553, allocations: 0.8281 MB / 1.54 GB, free: 3.426 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 7.363e-05/0.5554, allocations: 8 kB / 1.54 GB, free: 3.418 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5554, allocations: 0 / 1.54 GB, free: 3.418 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.5554, allocations: 11.92 kB / 1.54 GB, free: 3.406 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.5562, allocations: 0.5202 MB / 1.541 GB, free: 2.883 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5585, allocations: 2.235 MB / 1.543 GB, free: 0.5547 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.5589, allocations: 0.7206 MB / 1.544 GB, free: 15.81 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.559, allocations: 29.92 kB / 1.544 GB, free: 15.78 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.559, allocations: 51.42 kB / 1.544 GB, free: 15.73 MB / 1.248 GB Notification: Performance of SimCode: time 3.7e-07/0.559, allocations: 192 / 1.544 GB, free: 15.73 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.5891, allocations: 4.709 MB / 1.548 GB, free: 11.15 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.186, allocations: 17 kB / 1.548 GB, free: 11.13 MB / 1.248 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conAir.m_flow in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.m_flow from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable conAir.T in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.T from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable conAir.X_w in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable conAir.X_w from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.T in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable souRev.outlet.backward.T from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! Error: Could not read variable souRev.outlet.backward.X_w in file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv. Warning: Get data of variable souRev.outlet.backward.X_w from file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.916818758007139]