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.001805/0.001805, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002287/0.002287, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.161/3.161, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",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.001985/0.001985, allocations: 62.25 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 179 MB / 1.345 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2247/0.5754, allocations: 177.8 MB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.5867, allocations: 9.643 MB / 1.528 GB, free: 4.332 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.587, allocations: 7.938 kB / 1.528 GB, free: 4.324 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.5876, allocations: 190.7 kB / 1.529 GB, free: 4.137 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.5879, allocations: 107.3 kB / 1.529 GB, free: 4.031 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.588, allocations: 67.8 kB / 1.529 GB, free: 3.965 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.5884, allocations: 318.7 kB / 1.529 GB, free: 3.652 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.5887, allocations: 109 kB / 1.529 GB, free: 3.539 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.589, allocations: 159.4 kB / 1.529 GB, free: 3.383 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.5891, allocations: 103.4 kB / 1.529 GB, free: 3.281 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.5892, allocations: 16 kB / 1.529 GB, free: 3.266 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.5892, allocations: 20 kB / 1.529 GB, free: 3.246 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.5892, allocations: 39.86 kB / 1.529 GB, free: 3.207 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.5893, allocations: 95.48 kB / 1.53 GB, free: 3.113 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.5896, allocations: 219 kB / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5896, allocations: 0 / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5896, allocations: 0 / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.5896, allocations: 0 / 1.53 GB, free: 2.898 MB / 1.217 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.0004655/0.5901, allocations: 413.6 kB / 1.53 GB, free: 2.465 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5901, allocations: 11.97 kB / 1.53 GB, free: 2.453 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.469e-05/0.5901, allocations: 8.438 kB / 1.53 GB, free: 2.445 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.5902, allocations: 62.53 kB / 1.53 GB, free: 2.375 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.5902, allocations: 27.8 kB / 1.53 GB, free: 2.348 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.5906, allocations: 186.6 kB / 1.53 GB, free: 2.141 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5906, allocations: 20.42 kB / 1.53 GB, free: 2.121 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.5906, allocations: 20 kB / 1.53 GB, free: 2.102 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.591, allocations: 227.8 kB / 1.531 GB, free: 1.84 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.591, allocations: 7.875 kB / 1.531 GB, free: 1.832 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.591, allocations: 12 kB / 1.531 GB, free: 1.82 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.591, allocations: 11.94 kB / 1.531 GB, free: 1.809 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.5912, allocations: 87.83 kB / 1.531 GB, free: 1.723 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.5923, allocations: 1.395 MB / 1.532 GB, free: 252 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.5924, allocations: 177.1 kB / 1.532 GB, free: 64 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.5924, allocations: 80.14 kB / 1.532 GB, free: 15.98 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.5924, allocations: 75.28 kB / 1.532 GB, free: 15.91 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.5925, allocations: 109.8 kB / 1.533 GB, free: 15.79 MB / 1.232 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.5925, allocations: 0 / 1.533 GB, free: 15.79 MB / 1.232 GB Notification: Performance of matching and sorting (n=0): time 8.514e-05/0.5926, allocations: 49.56 kB / 1.533 GB, free: 15.73 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.5926, allocations: 130.6 kB / 1.533 GB, free: 15.59 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.5929, allocations: 292.2 kB / 1.533 GB, free: 15.3 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.593, allocations: 25.7 kB / 1.533 GB, free: 15.27 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.5931, allocations: 148 kB / 1.533 GB, free: 15.12 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.5931, allocations: 0 / 1.533 GB, free: 15.12 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.5931, allocations: 17.72 kB / 1.533 GB, free: 15.1 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5933, allocations: 334.8 kB / 1.533 GB, free: 14.77 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.5933, allocations: 0 / 1.533 GB, free: 14.77 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.5933, allocations: 31.44 kB / 1.534 GB, free: 14.72 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.5934, allocations: 39.36 kB / 1.534 GB, free: 14.67 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5934, allocations: 0 / 1.534 GB, free: 14.67 MB / 1.232 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.5935, allocations: 77.44 kB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5935, allocations: 8 kB / 1.534 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5935, allocations: 0 / 1.534 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.5935, allocations: 0 / 1.534 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.5936, allocations: 11.98 kB / 1.534 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5936, allocations: 0 / 1.534 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.5936, allocations: 23.78 kB / 1.534 GB, free: 14.55 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5936, allocations: 4.047 kB / 1.534 GB, free: 14.54 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.0001268/0.5938, allocations: 205.8 kB / 1.534 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.5939, allocations: 124.8 kB / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.5939, allocations: 125.9 kB / 1.534 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/0.594, allocations: 184.2 kB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.862e-05/0.5941, allocations: 180.3 kB / 1.534 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/0.5942, allocations: 180.3 kB / 1.535 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.5945, allocations: 448.1 kB / 1.535 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.5945, allocations: 113 kB / 1.535 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.5946, allocations: 104.9 kB / 1.535 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-05/0.5947, allocations: 180.2 kB / 1.535 GB, free: 12.62 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.5947, allocations: 176.3 kB / 1.536 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.84e-05/0.5948, allocations: 184.2 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.759e-05/0.5949, allocations: 184.3 kB / 1.536 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.5951, allocations: 327.5 kB / 1.536 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.5951, allocations: 120.9 kB / 1.536 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.5952, allocations: 188.2 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5954, allocations: 109 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.5954, allocations: 184.2 kB / 1.537 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.5955, allocations: 105 kB / 1.537 GB, free: 11 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000263/0.5958, allocations: 207 kB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5958, allocations: 0 / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000263/0.596, allocations: 24 kB / 1.537 GB, free: 10.77 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.0004952/0.5965, allocations: 0.832 MB / 1.538 GB, free: 9.906 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.5966, allocations: 11.98 kB / 1.538 GB, free: 9.895 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.5966, allocations: 4 kB / 1.538 GB, free: 9.891 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.5966, allocations: 3.938 kB / 1.538 GB, free: 9.887 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.5974, allocations: 0.532 MB / 1.539 GB, free: 9.352 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.5999, allocations: 2.237 MB / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.6003, allocations: 0.7245 MB / 1.541 GB, free: 6.273 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 7.956e-05/0.6004, allocations: 21.94 kB / 1.541 GB, free: 6.25 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.6005, allocations: 55.42 kB / 1.541 GB, free: 6.195 MB / 1.232 GB Notification: Performance of SimCode: time 6.11e-07/0.6005, allocations: 0 / 1.541 GB, free: 6.195 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.6258, allocations: 4.846 MB / 1.546 GB, free: 1.512 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.24, allocations: 6.406 kB / 1.546 GB, free: 1.508 MB / 1.232 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.044992370996624]