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.001204/0.001204, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009323/0.0009323, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8808/0.8808, allocations: 177.2 MB / 203.5 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.709/1.709, allocations: 389.1 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.506e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001344/0.001359, allocations: 1.297 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.002199, allocations: 0.5341 MB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.002217, allocations: 4 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.002232, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.002271, allocations: 7.922 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.00257, allocations: 95.44 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.002622, allocations: 19.88 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.002655, allocations: 7.984 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.002696, allocations: 4 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.002735, allocations: 7.984 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.002746, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.002925, allocations: 143.7 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.002936, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.002951, allocations: 4 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.0031, allocations: 111.6 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003102, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003103, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.003106, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 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.0002752/0.003381, allocations: 278.1 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.003414, allocations: 9.344 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.003662, allocations: 32.91 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.547e-05/0.003728, allocations: 105.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.003741, allocations: 4.375 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.00375, allocations: 4.359 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003854, allocations: 46.23 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.00386, allocations: 192 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.003869, allocations: 384 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003873, allocations: 384 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.003944, allocations: 35.84 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.004048, allocations: 105.3 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.004131, allocations: 38.59 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.004167, allocations: 20.84 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.004183, allocations: 4 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.004199, allocations: 34.56 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.004199, allocations: 0 / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.004378, allocations: 73.59 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.004401, allocations: 51.41 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.004451, allocations: 105.8 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.004461, allocations: 29.64 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.004481, allocations: 80.14 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.004503, allocations: 12.08 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.004528, allocations: 13.7 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.004595, allocations: 318.8 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.004627, allocations: 7.984 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.004655, allocations: 12 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.004724, allocations: 28.83 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004726, allocations: 4.062 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.884e-05/0.004814, allocations: 73.56 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004825, allocations: 4 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.004829, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.004838, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.004895, allocations: 11.98 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.0049, allocations: 0 / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.004924, allocations: 7.969 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.004929, allocations: 0 / 1.005 GB, free: 9.078 MB / 0.9636 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 4.809e-05/0.004978, allocations: 113.8 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-06/0.004983, allocations: 0 / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.005013, allocations: 7.312 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005015, allocations: 4 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.005018, allocations: 0 / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.005021, allocations: 3.938 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.232e-05/0.005074, allocations: 101.3 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005074, allocations: 4 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.005102, allocations: 7.984 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005103, allocations: 0 / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.005111, allocations: 8 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005111, allocations: 3.938 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.005113, allocations: 3.938 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.005212, allocations: 81.05 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.005243, allocations: 15.95 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.005252, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.005274, allocations: 4 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.005285, allocations: 3.984 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.005288, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.188e-05/0.00531, allocations: 83.45 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00531, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001289/0.005439, allocations: 15.94 kB / 1.005 GB, free: 8.562 MB / 0.9636 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.0001026/0.005542, allocations: 115.1 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.005646, allocations: 35.91 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005647, allocations: 0 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.005675, allocations: 15.98 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.005803, allocations: 0 / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.006032, allocations: 138.8 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.006064, allocations: 63.34 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.006091, allocations: 12.48 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.006091, allocations: 0 / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of Templates: time 0.001438/0.007529, allocations: 0.8121 MB / 1.006 GB, free: 7.32 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] 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/jenkins/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: 6.533356360159814]