Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 1.057 GB, free: 2.098 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3053, allocations: 160.8 MB / 1.214 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002416/0.3078, allocations: 1.292 MB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.3087, allocations: 0.5733 MB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.3088, allocations: 0 / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.3088, allocations: 4 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.3088, allocations: 3.938 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.3092, allocations: 95.48 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.3093, allocations: 19.94 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.3093, allocations: 11.92 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.3093, allocations: 4 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.3094, allocations: 7.938 kB / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.3094, allocations: 0 / 1.216 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.3097, allocations: 139.8 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.3097, allocations: 4 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.3097, allocations: 11.94 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3099, allocations: 91.7 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3099, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3099, allocations: 0 / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3099, allocations: 4 kB / 1.216 GB, free: 14.78 MB / 0.9669 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.0004258/0.3103, allocations: 347.2 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3104, allocations: 8.031 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.3108, allocations: 28.91 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3109, allocations: 172.3 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.311, allocations: 4.375 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.311, allocations: 384 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3111, allocations: 46.23 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3111, allocations: 4.172 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3112, allocations: 3.938 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.3112, allocations: 4 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3113, allocations: 27.91 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3115, allocations: 158.4 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3117, allocations: 46.58 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.3117, allocations: 20.91 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3117, allocations: 0 / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3118, allocations: 34.56 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3118, allocations: 0 / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003268/0.3121, allocations: 77.62 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3121, allocations: 55.41 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.3122, allocations: 101.8 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3123, allocations: 25.7 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.3123, allocations: 80.14 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3123, allocations: 7.938 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.3124, allocations: 17.72 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3125, allocations: 310.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.3126, allocations: 16.02 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.3126, allocations: 11.98 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3128, allocations: 28.84 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3128, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.313, allocations: 65.67 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.313, allocations: 7.984 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.313, allocations: 7.938 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.313, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.3131, allocations: 7.938 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3131, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.3132, allocations: 7.984 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3132, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 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.752e-05/0.3133, allocations: 109.9 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.3133, allocations: 0 / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.3134, allocations: 15.06 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3134, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3134, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3134, allocations: 3.984 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3135, allocations: 165.6 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3135, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.3136, allocations: 11.98 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3136, allocations: 4 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3136, allocations: 3.938 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3136, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3136, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3139, allocations: 89.05 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.3139, allocations: 81.09 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.314, allocations: 7.938 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.314, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.314, allocations: 3.984 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3141, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.3141, allocations: 79.28 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3141, allocations: 0 / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002026/0.3143, allocations: 19.94 kB / 1.218 GB, free: 12.17 MB / 0.9669 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.0001895/0.3145, allocations: 115.5 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3147, allocations: 31.91 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3147, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.3148, allocations: 15.98 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.315, allocations: 8.125 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.3154, allocations: 140.2 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.3157, allocations: 0.6768 MB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3157, allocations: 19.36 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3157, allocations: 0 / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.002435/0.3182, allocations: 0.7894 MB / 1.22 GB, free: 10.32 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.376824112143368]