Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001824/0.001824, allocations: 113.5 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.001618/0.001618, allocations: 221.1 kB / 23.05 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.349/3.349, 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.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_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.001992/0.001992, allocations: 76.58 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002696/0.4027, allocations: 1.313 MB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4038, allocations: 0.5764 MB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.4038, allocations: 4 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.4038, allocations: 0 / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.4039, allocations: 7.922 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.4043, allocations: 91.56 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.4044, allocations: 27.81 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.4044, allocations: 3.984 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.4045, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.4045, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.4045, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.4048, allocations: 159.7 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.4049, allocations: 3.938 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.4049, allocations: 4 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4051, allocations: 99.98 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4051, allocations: 0 / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4051, allocations: 0 / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4051, allocations: 0 / 1.348 GB, free: 14.13 MB / 1.045 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.0004268/0.4055, allocations: 278 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4056, allocations: 8.031 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.4056, allocations: 8.188 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.4056, allocations: 30.75 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.4061, allocations: 32.89 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4062, allocations: 110.4 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4062, allocations: 384 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.4062, allocations: 4.375 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.4064, allocations: 57.97 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4064, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4064, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4064, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4065, allocations: 23.92 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.4067, allocations: 128.7 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4069, allocations: 46.53 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.407, allocations: 16.91 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.407, allocations: 3.984 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.407, allocations: 34.5 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.407, allocations: 4 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003219/0.4074, allocations: 69.66 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.4074, allocations: 55.41 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.4075, allocations: 97.84 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.4075, allocations: 25.7 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.4076, allocations: 88.08 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.4076, allocations: 12.02 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.4076, allocations: 21.7 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4078, allocations: 310.8 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.4079, allocations: 11.98 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.4079, allocations: 8 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.408, allocations: 36.89 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.408, allocations: 0 / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.4082, allocations: 57.67 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4082, allocations: 7.938 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4082, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4083, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4084, allocations: 19.95 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4084, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.4084, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.4084, allocations: 4 kB / 1.349 GB, free: 12.35 MB / 1.045 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 9.083e-05/0.4085, allocations: 114.5 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.4085, allocations: 3.938 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.4086, allocations: 7.25 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4086, allocations: 8 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4086, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4086, allocations: 0 / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4087, allocations: 124.8 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4087, allocations: 3.938 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.4088, allocations: 7.984 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4088, allocations: 3.938 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4088, allocations: 4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.4088, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4088, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.409, allocations: 97.17 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.4091, allocations: 3.938 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.4091, allocations: 7.969 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.4092, allocations: 8 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.4092, allocations: 0 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4092, allocations: 4.031 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.4092, allocations: 87.27 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4092, allocations: 0 / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002063/0.4094, allocations: 15.94 kB / 1.35 GB, free: 11.79 MB / 1.045 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.0005864/0.41, allocations: 0.6241 MB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.4102, allocations: 31.91 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4102, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.4103, allocations: 15.98 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.4106, allocations: 9.875 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.4111, allocations: 153.8 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4115, allocations: 0.6768 MB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.4116, allocations: 7.938 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4116, allocations: 19.42 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4116, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.4359, allocations: 1.705 MB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.65, allocations: 14.05 kB / 1.353 GB, free: 8.594 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.93197712802794]