Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001301/0.001301, allocations: 116.8 kB / 17.17 MB, free: 6 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.001378/0.001378, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.494/1.494, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 0.49 GB / 0.7923 GB, free: 1.363 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_12_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.002024/0.002024, allocations: 75.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9155/0.9176, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2269/1.144, allocations: 177.5 MB / 1.495 GB, free: 5.309 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0124/1.157, allocations: 9.574 MB / 1.504 GB, free: 13.57 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/1.157, allocations: 10.69 kB / 1.504 GB, free: 13.56 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008405/1.158, allocations: 199 kB / 1.504 GB, free: 13.39 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003539/1.159, allocations: 88.88 kB / 1.504 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/1.159, allocations: 64.36 kB / 1.505 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/1.159, allocations: 318.9 kB / 1.505 GB, free: 13.07 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/1.159, allocations: 107.3 kB / 1.505 GB, free: 13 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/1.16, allocations: 172.8 kB / 1.505 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/1.16, allocations: 105.2 kB / 1.505 GB, free: 12.83 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/1.16, allocations: 16.19 kB / 1.505 GB, free: 12.83 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/1.16, allocations: 15.75 kB / 1.505 GB, free: 12.83 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/1.16, allocations: 37.69 kB / 1.505 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/1.16, allocations: 101.6 kB / 1.505 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/1.161, allocations: 218.2 kB / 1.506 GB, free: 12.57 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.161, allocations: 0 / 1.506 GB, free: 12.57 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.774e-06/1.161, allocations: 0 / 1.506 GB, free: 12.57 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.505e-05/1.161, allocations: 7.938 kB / 1.506 GB, free: 12.56 MB / 1.186 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.0006792/1.161, allocations: 484.8 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.161, allocations: 13.23 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.19e-05/1.161, allocations: 5.125 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.181e-05/1.162, allocations: 57.5 kB / 1.506 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/1.162, allocations: 27.3 kB / 1.506 GB, free: 12.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/1.162, allocations: 257.4 kB / 1.506 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/1.162, allocations: 23.98 kB / 1.506 GB, free: 11.74 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/1.162, allocations: 15.97 kB / 1.506 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/1.162, allocations: 233.7 kB / 1.507 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/1.162, allocations: 7.875 kB / 1.507 GB, free: 11.53 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/1.162, allocations: 11.69 kB / 1.507 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.163, allocations: 5.219 kB / 1.507 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.163, allocations: 85.66 kB / 1.507 GB, free: 11.48 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.164, allocations: 1.445 MB / 1.508 GB, free: 9.996 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/1.164, allocations: 165.1 kB / 1.508 GB, free: 9.824 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/1.164, allocations: 80.14 kB / 1.508 GB, free: 9.742 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/1.164, allocations: 75.28 kB / 1.508 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/1.164, allocations: 113.8 kB / 1.509 GB, free: 9.547 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/1.164, allocations: 0 / 1.509 GB, free: 9.547 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/1.164, allocations: 57.55 kB / 1.509 GB, free: 9.484 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/1.164, allocations: 126.7 kB / 1.509 GB, free: 9.348 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/1.165, allocations: 283 kB / 1.509 GB, free: 9.066 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/1.165, allocations: 29.69 kB / 1.509 GB, free: 9.031 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.165, allocations: 140 kB / 1.509 GB, free: 8.891 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.165, allocations: 0 / 1.509 GB, free: 8.891 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/1.165, allocations: 25.7 kB / 1.509 GB, free: 8.859 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.165, allocations: 330.8 kB / 1.51 GB, free: 8.527 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/1.165, allocations: 15.98 kB / 1.51 GB, free: 8.512 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/1.165, allocations: 31.31 kB / 1.51 GB, free: 8.469 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/1.165, allocations: 31.44 kB / 1.51 GB, free: 8.426 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.165, allocations: 0 / 1.51 GB, free: 8.426 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001563/1.165, allocations: 77.53 kB / 1.51 GB, free: 8.344 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.165, allocations: 11.94 kB / 1.51 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.165, allocations: 0 / 1.51 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.165, allocations: 0 / 1.51 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/1.165, allocations: 8 kB / 1.51 GB, free: 8.324 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.165, allocations: 128 / 1.51 GB, free: 8.324 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/1.165, allocations: 27.78 kB / 1.51 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/1.165, allocations: 7.922 kB / 1.51 GB, free: 8.289 MB / 1.186 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.0001298/1.166, allocations: 197.1 kB / 1.51 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/1.166, allocations: 132.8 kB / 1.51 GB, free: 7.949 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/1.166, allocations: 117.9 kB / 1.51 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-05/1.166, allocations: 184.2 kB / 1.51 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.221e-05/1.166, allocations: 180.3 kB / 1.51 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.396e-05/1.166, allocations: 176.3 kB / 1.511 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/1.166, allocations: 477 kB / 1.511 GB, free: 6.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/1.166, allocations: 105 kB / 1.511 GB, free: 6.645 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/1.166, allocations: 109 kB / 1.511 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-05/1.167, allocations: 180.4 kB / 1.511 GB, free: 6.348 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/1.167, allocations: 176.3 kB / 1.512 GB, free: 6.168 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.224e-05/1.167, allocations: 196.2 kB / 1.512 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/1.167, allocations: 176.3 kB / 1.512 GB, free: 5.789 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/1.167, allocations: 327.6 kB / 1.512 GB, free: 5.445 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.167, allocations: 205.9 kB / 1.513 GB, free: 5.219 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/1.167, allocations: 180.3 kB / 1.513 GB, free: 5.035 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/1.167, allocations: 109 kB / 1.513 GB, free: 4.922 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/1.167, allocations: 184.3 kB / 1.513 GB, free: 4.734 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/1.167, allocations: 101 kB / 1.513 GB, free: 4.629 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000212/1.168, allocations: 213.9 kB / 1.513 GB, free: 4.422 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.168, allocations: 0 / 1.513 GB, free: 4.422 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002801/1.168, allocations: 24 kB / 1.513 GB, free: 4.398 MB / 1.186 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.0005033/1.168, allocations: 0.828 MB / 1.514 GB, free: 3.539 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.509e-05/1.169, allocations: 19.94 kB / 1.514 GB, free: 3.52 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.169, allocations: 0 / 1.514 GB, free: 3.52 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/1.169, allocations: 0 / 1.514 GB, free: 3.52 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/1.169, allocations: 0.5318 MB / 1.515 GB, free: 2.984 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.172, allocations: 2.231 MB / 1.517 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/1.172, allocations: 0.7245 MB / 1.518 GB, free: 15.9 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 9.455e-05/1.172, allocations: 25.89 kB / 1.518 GB, free: 15.88 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/1.172, allocations: 59.41 kB / 1.518 GB, free: 15.82 MB / 1.201 GB Notification: Performance of SimCode: time 7.11e-07/1.172, allocations: 0 / 1.518 GB, free: 15.82 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/1.196, allocations: 4.748 MB / 1.522 GB, free: 11.24 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/10.03, allocations: 7.938 kB / 1.522 GB, free: 11.23 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.460695563990157]