Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001758/0.001758, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002133/0.002133, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.944/2.944, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_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.002898/0.002898, allocations: 65.16 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3512, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.004215/0.3555, allocations: 1.302 MB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3567, allocations: 0.5315 MB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.3567, allocations: 0 / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.3567, allocations: 4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.3568, allocations: 7.875 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.3574, allocations: 95.56 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.3575, allocations: 15.88 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.3575, allocations: 8 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.3576, allocations: 15.92 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.3576, allocations: 7.984 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3577, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.358, allocations: 135.8 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.358, allocations: 11.92 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.3581, allocations: 7.938 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3583, allocations: 80.97 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3583, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3583, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3583, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 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.0004604/0.3588, allocations: 274 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3588, allocations: 16.03 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.711e-05/0.3588, allocations: 192 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.3589, allocations: 34.73 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.3594, allocations: 28.91 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3595, allocations: 110.5 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3595, allocations: 384 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3596, allocations: 384 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3597, allocations: 61.92 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3598, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3598, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3598, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3599, allocations: 19.97 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.3601, allocations: 128.8 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3603, allocations: 38.59 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.3604, allocations: 20.91 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3604, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.3605, allocations: 42.44 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3605, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.3609, allocations: 69.75 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3609, allocations: 55.41 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.361, allocations: 97.84 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3611, allocations: 25.7 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.3611, allocations: 84.14 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3611, allocations: 7.891 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.3612, allocations: 17.7 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003641/0.3615, allocations: 314.8 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.3616, allocations: 19.92 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.3617, allocations: 12.03 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3618, allocations: 36.77 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3618, allocations: 3.938 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.362, allocations: 57.62 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.362, allocations: 12.03 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.362, allocations: 4 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.362, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3622, allocations: 7.984 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3622, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.3622, allocations: 8 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3622, allocations: 0 / 1.288 GB, free: 6.633 MB / 0.9825 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 0.0001432/0.3624, allocations: 113.8 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.3624, allocations: 3.938 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.3624, allocations: 7.312 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3624, allocations: 3.938 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3624, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3624, allocations: 192 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3626, allocations: 128.8 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3626, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.3627, allocations: 11.97 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.3627, allocations: 7.938 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3627, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3627, allocations: 4 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3627, allocations: 4 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3629, allocations: 77.11 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.363, allocations: 19.88 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.363, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.3631, allocations: 4 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.3631, allocations: 3.984 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3631, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.3632, allocations: 83.31 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3632, allocations: 3.938 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002163/0.3634, allocations: 15.94 kB / 1.288 GB, free: 6.082 MB / 0.9825 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.000683/0.3641, allocations: 0.628 MB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.3643, allocations: 36 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3643, allocations: 0 / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.3644, allocations: 23.8 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3647, allocations: 13.19 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.3654, allocations: 156.4 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.501e-05/0.3654, allocations: 63.47 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.981e-05/0.3655, allocations: 8 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.3655, allocations: 7.438 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3655, allocations: 0 / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3889, allocations: 1.796 MB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 15.55 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.21588063298259]