Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001669/0.001669, 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.00209/0.00209, 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 3.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 33.49 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.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001998/0.001998, allocations: 66.38 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4108, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002813/0.4136, allocations: 1.303 MB / 1.328 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4146, allocations: 0.5764 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.4146, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.4147, allocations: 0 / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.4147, allocations: 11.92 kB / 1.329 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.4152, allocations: 99.67 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.4152, allocations: 15.88 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.4153, allocations: 4 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.4153, allocations: 11.92 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.4153, allocations: 7.812 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.4154, allocations: 4 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.4157, allocations: 151.7 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.4157, allocations: 0 / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.4157, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.4159, allocations: 95.98 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4159, allocations: 7.984 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4159, allocations: 0 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.4159, allocations: 0 / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003985/0.4163, allocations: 275.5 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4164, allocations: 8.031 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.033e-05/0.4164, allocations: 8.188 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.4164, allocations: 34.69 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.4169, allocations: 32.89 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.417, allocations: 114.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.417, allocations: 4.359 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.417, allocations: 384 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.4171, allocations: 49.97 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4172, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4172, allocations: 4 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4172, allocations: 4 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.4173, allocations: 19.98 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.4175, allocations: 132.8 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4176, allocations: 42.48 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/0.4177, allocations: 24.91 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.4177, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4178, allocations: 34.5 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.4178, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003153/0.4181, allocations: 73.73 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4181, allocations: 59.34 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.4182, allocations: 93.86 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4182, allocations: 25.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.4183, allocations: 88.12 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.4183, allocations: 7.891 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.4183, allocations: 13.72 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4185, allocations: 314.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.4186, allocations: 16 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.4186, allocations: 7.984 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.4188, allocations: 32.84 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4188, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.4189, allocations: 69.59 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.419, allocations: 11.94 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.419, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.419, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.4191, allocations: 7.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4191, allocations: 3.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.4191, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4192, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.792e-05/0.4192, allocations: 113.9 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.4193, allocations: 11.88 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.4193, allocations: 7.297 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4193, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4193, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4193, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4194, allocations: 124.8 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4194, allocations: 4 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.4195, allocations: 11.98 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.4195, allocations: 3.938 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4195, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.4195, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4195, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.4197, allocations: 93.03 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.4198, allocations: 11.89 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4198, allocations: 4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.4199, allocations: 7.984 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.4199, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4199, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.4199, allocations: 79.45 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4199, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002096/0.4201, allocations: 15.94 kB / 1.331 GB, free: 13.31 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0005936/0.4207, allocations: 0.6436 MB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4209, allocations: 32 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4209, allocations: 4 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.421, allocations: 11.98 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.4213, allocations: 9.562 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.4218, allocations: 152.5 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4221, allocations: 0.6805 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.979e-05/0.4222, allocations: 8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.4222, allocations: 15.44 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4222, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.4455, allocations: 1.713 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 5.375 kB / 1.334 GB, free: 10.1 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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: 18.763646915962454]