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.001363/0.001363, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001399/0.001399, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.635/1.635, 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 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.929/2.929, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 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.002237/0.002237, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003185/1.023, allocations: 1.308 MB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001052/1.024, allocations: 0.57 MB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/1.024, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/1.024, allocations: 8.531 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.398e-05/1.024, allocations: 11.41 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/1.025, allocations: 89.22 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.978e-05/1.025, allocations: 30.39 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/1.025, allocations: 2.875 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/1.025, allocations: 4.359 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/1.025, allocations: 4.703 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/1.025, allocations: 1.062 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/1.025, allocations: 145.4 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/1.025, allocations: 12.86 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/1.025, allocations: 8.094 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/1.026, allocations: 99.62 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.026, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.225e-06/1.026, allocations: 1.094 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.026, allocations: 0.7031 kB / 1.281 GB, free: 10.29 MB / 0.9981 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.0004895/1.026, allocations: 345.5 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/1.026, allocations: 10.22 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.505e-05/1.026, allocations: 192 / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/1.026, allocations: 40.28 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/1.027, allocations: 30.39 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/1.027, allocations: 162.7 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/1.027, allocations: 384 / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/1.027, allocations: 1.438 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/1.027, allocations: 60.47 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.027, allocations: 0 / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/1.027, allocations: 4 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.027, allocations: 1.656 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/1.027, allocations: 21.92 kB / 1.282 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/1.027, allocations: 162.5 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/1.028, allocations: 42.72 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/1.028, allocations: 19.02 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/1.028, allocations: 0.8125 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.028, allocations: 40.31 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.028, allocations: 0 / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/1.028, allocations: 75.14 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.028, allocations: 53.27 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/1.028, allocations: 98.52 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/1.028, allocations: 26.2 kB / 1.282 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/1.028, allocations: 81.38 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/1.028, allocations: 5.562 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/1.028, allocations: 23.78 kB / 1.282 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.028, allocations: 319.8 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/1.029, allocations: 9.922 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/1.029, allocations: 14.09 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/1.029, allocations: 35.12 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.029, allocations: 0.5625 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/1.029, allocations: 59.69 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.029, allocations: 9.375 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.029, allocations: 0.7969 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/1.029, allocations: 0.5938 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.029, allocations: 8.766 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.029, allocations: 0.5625 kB / 1.283 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/1.029, allocations: 6.359 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/1.029, allocations: 2.625 kB / 1.283 GB, free: 8.586 MB / 0.9981 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.266e-05/1.029, allocations: 108.8 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/1.029, allocations: 5.188 kB / 1.283 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/1.029, allocations: 8.75 kB / 1.283 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.029, allocations: 4.438 kB / 1.283 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.029, allocations: 5.344 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.029, allocations: 0.5 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/1.03, allocations: 154.1 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.03, allocations: 0.7969 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/1.03, allocations: 7.859 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.03, allocations: 9.125 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.03, allocations: 1.562 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.03, allocations: 1.203 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.03, allocations: 0 / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/1.03, allocations: 85.62 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/1.03, allocations: 97.05 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/1.03, allocations: 1.219 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/1.03, allocations: 7.375 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/1.03, allocations: 1.562 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/1.03, allocations: 1.75 kB / 1.283 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.93e-05/1.03, allocations: 83.11 kB / 1.283 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.03, allocations: 3.938 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002327/1.03, allocations: 11.44 kB / 1.283 GB, free: 7.98 MB / 0.9981 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.0006481/1.031, allocations: 0.6373 MB / 1.284 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002049/1.031, allocations: 26.5 kB / 1.284 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.031, allocations: 5.062 kB / 1.284 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/1.031, allocations: 16.44 kB / 1.284 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/1.032, allocations: 12.8 kB / 1.284 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/1.032, allocations: 150.5 kB / 1.284 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/1.032, allocations: 0.6753 MB / 1.285 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.379e-05/1.032, allocations: 7.375 kB / 1.285 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/1.032, allocations: 10.8 kB / 1.285 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/1.032, allocations: 5.438 kB / 1.285 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/1.051, allocations: 1.633 MB / 1.287 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/9.371, allocations: 11.08 kB / 1.287 GB, free: 6.113 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.983161439013202]