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.001316/0.001316, allocations: 116.1 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.001519/0.001519, allocations: 209.5 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.046/3.046, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.002303/0.002303, allocations: 71.89 kB / 1.15 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 176.1 MB / 1.321 GB, free: 7.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002571/1.058, allocations: 1.305 MB / 1.323 GB, free: 6.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001047/1.059, allocations: 0.5669 MB / 1.323 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/1.059, allocations: 3.938 kB / 1.323 GB, free: 6.254 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/1.059, allocations: 1.531 kB / 1.323 GB, free: 6.254 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/1.059, allocations: 7.922 kB / 1.323 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/1.059, allocations: 100.1 kB / 1.323 GB, free: 6.176 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/1.059, allocations: 25.09 kB / 1.323 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/1.059, allocations: 1.406 kB / 1.323 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/1.059, allocations: 7.844 kB / 1.323 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/1.059, allocations: 11.88 kB / 1.323 GB, free: 6.148 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/1.059, allocations: 1.156 kB / 1.323 GB, free: 6.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/1.06, allocations: 148.7 kB / 1.324 GB, free: 6.074 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/1.06, allocations: 3.984 kB / 1.324 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/1.06, allocations: 4.281 kB / 1.324 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/1.06, allocations: 98.2 kB / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.06, allocations: 0 / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/1.06, allocations: 0 / 1.324 GB, free: 6.023 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.06, allocations: 1.188 kB / 1.324 GB, free: 6.023 MB / 1.014 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.0005143/1.06, allocations: 353.2 kB / 1.324 GB, free: 5.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.061, allocations: 13.2 kB / 1.324 GB, free: 5.637 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.321e-05/1.061, allocations: 192 / 1.324 GB, free: 5.637 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/1.061, allocations: 32.03 kB / 1.324 GB, free: 5.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/1.061, allocations: 30.77 kB / 1.324 GB, free: 5.586 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.061, allocations: 165.7 kB / 1.324 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/1.061, allocations: 4.375 kB / 1.324 GB, free: 5.383 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/1.061, allocations: 5.719 kB / 1.324 GB, free: 5.379 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.061, allocations: 49.61 kB / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.061, allocations: 0 / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.061, allocations: 1.344 kB / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.061, allocations: 0 / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/1.062, allocations: 27.44 kB / 1.324 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/1.062, allocations: 158.2 kB / 1.325 GB, free: 5.117 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/1.062, allocations: 44.23 kB / 1.325 GB, free: 5.078 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/1.062, allocations: 11.33 kB / 1.325 GB, free: 5.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/1.062, allocations: 5.234 kB / 1.325 GB, free: 5.066 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/1.062, allocations: 46.5 kB / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/1.062, allocations: 0 / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003348/1.062, allocations: 77.33 kB / 1.325 GB, free: 4.953 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.062, allocations: 51.41 kB / 1.325 GB, free: 4.891 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/1.062, allocations: 93.8 kB / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.063, allocations: 30.95 kB / 1.325 GB, free: 4.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/1.063, allocations: 84.12 kB / 1.325 GB, free: 4.672 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/1.063, allocations: 9.141 kB / 1.325 GB, free: 4.664 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/1.063, allocations: 16.61 kB / 1.325 GB, free: 4.645 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.063, allocations: 312.2 kB / 1.325 GB, free: 4.332 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/1.063, allocations: 14.05 kB / 1.325 GB, free: 4.324 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/1.063, allocations: 19.7 kB / 1.325 GB, free: 4.312 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/1.063, allocations: 30.03 kB / 1.325 GB, free: 4.293 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.063, allocations: 3.938 kB / 1.325 GB, free: 4.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/1.063, allocations: 55.67 kB / 1.325 GB, free: 4.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.063, allocations: 11.91 kB / 1.325 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.063, allocations: 4.094 kB / 1.325 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.063, allocations: 1.344 kB / 1.325 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.063, allocations: 8.359 kB / 1.325 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.063, allocations: 0 / 1.325 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/1.063, allocations: 6.984 kB / 1.325 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/1.063, allocations: 0 / 1.325 GB, free: 4.23 MB / 1.014 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.741e-05/1.064, allocations: 112.6 kB / 1.326 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/1.064, allocations: 3.938 kB / 1.326 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/1.064, allocations: 8.531 kB / 1.326 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.064, allocations: 1.406 kB / 1.326 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.064, allocations: 3.938 kB / 1.326 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.064, allocations: 192 / 1.326 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/1.064, allocations: 157.3 kB / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.064, allocations: 1.312 kB / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/1.064, allocations: 4.969 kB / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.064, allocations: 11.86 kB / 1.326 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.064, allocations: 9.453 kB / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.064, allocations: 0 / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.064, allocations: 0 / 1.326 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/1.064, allocations: 83.94 kB / 1.326 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/1.064, allocations: 90.12 kB / 1.326 GB, free: 3.691 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.064, allocations: 1.188 kB / 1.326 GB, free: 3.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/1.064, allocations: 6.094 kB / 1.326 GB, free: 3.688 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/1.064, allocations: 1.094 kB / 1.326 GB, free: 3.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/1.064, allocations: 5.141 kB / 1.326 GB, free: 3.684 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.561e-05/1.064, allocations: 81.38 kB / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/1.064, allocations: 0 / 1.326 GB, free: 3.605 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002093/1.064, allocations: 11.41 kB / 1.326 GB, free: 3.605 MB / 1.014 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.0005745/1.065, allocations: 0.6359 MB / 1.327 GB, free: 2.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002006/1.065, allocations: 27.69 kB / 1.327 GB, free: 2.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.065, allocations: 96 / 1.327 GB, free: 2.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/1.065, allocations: 20.98 kB / 1.327 GB, free: 2.957 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/1.066, allocations: 14.58 kB / 1.327 GB, free: 2.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/1.066, allocations: 158.3 kB / 1.327 GB, free: 2.781 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/1.066, allocations: 0.6722 MB / 1.327 GB, free: 2.086 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.021e-05/1.066, allocations: 15.23 kB / 1.327 GB, free: 2.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/1.066, allocations: 9.781 kB / 1.327 GB, free: 2.066 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/1.066, allocations: 0 / 1.327 GB, free: 2.066 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/1.085, allocations: 1.629 MB / 1.329 GB, free: 1.207 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.574, allocations: 14.61 kB / 1.329 GB, free: 1.199 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.363163886999246]