Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.000834/0.000834, 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.0008077/0.0008077, allocations: 178.2 kB / 23.21 MB, free: 1.348 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.877/0.877, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.835/1.835, allocations: 389 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.69e-05, allocations: 8.75 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002333/0.00237, allocations: 1.428 MB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.003325, allocations: 0.5575 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.003357, allocations: 8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.003386, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.003441, allocations: 3.938 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.003845, allocations: 99.48 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.003918, allocations: 27.81 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.004016, allocations: 7.984 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.004069, allocations: 12 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.004118, allocations: 7.984 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.004132, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.004372, allocations: 147.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.004388, allocations: 11.98 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.004407, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.004626, allocations: 119.7 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004628, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004629, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004634, allocations: 4 kB / 1.003 GB, free: 10.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004187/0.005053, allocations: 282.1 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.005092, allocations: 8.75 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.005449, allocations: 36.89 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.005537, allocations: 109.7 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.005549, allocations: 384 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.005563, allocations: 8.359 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.00576, allocations: 66.14 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.005769, allocations: 192 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005782, allocations: 8.375 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005787, allocations: 384 / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.00597, allocations: 55.88 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.006341, allocations: 224.5 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.006502, allocations: 58.55 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.006593, allocations: 32.89 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.006615, allocations: 7.922 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.00664, allocations: 30.56 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.006641, allocations: 0 / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.007022, allocations: 117.5 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.007056, allocations: 51.41 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.00712, allocations: 101.8 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.007134, allocations: 25.7 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.007175, allocations: 88.14 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.007195, allocations: 3.953 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.007235, allocations: 17.7 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.007326, allocations: 315 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.007411, allocations: 27.91 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.007493, allocations: 35.91 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.007661, allocations: 60.88 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007663, allocations: 0 / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002115/0.007875, allocations: 85.62 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007888, allocations: 4 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.007894, allocations: 3.938 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007907, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.007996, allocations: 16.02 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.008001, allocations: 4 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.008053, allocations: 11.94 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008061, allocations: 0 / 1.005 GB, free: 8.578 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 6.589e-05/0.008127, allocations: 117.8 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.008152, allocations: 3.984 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.008197, allocations: 11.25 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008199, allocations: 0 / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.008203, allocations: 4 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.008206, allocations: 0 / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.008329, allocations: 105.3 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.00833, allocations: 3.938 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.008391, allocations: 11.98 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008394, allocations: 0 / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.008405, allocations: 7.984 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.008409, allocations: 3.938 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00841, allocations: 4 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.008659, allocations: 175.5 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.008665, allocations: 4 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008681, allocations: 3.984 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.00876, allocations: 11.94 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.008799, allocations: 12.11 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008806, allocations: 4.031 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.00884, allocations: 87.27 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.008841, allocations: 0 / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002505/0.009091, allocations: 15.94 kB / 1.006 GB, free: 7.941 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.0001622/0.009253, allocations: 107.2 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.009491, allocations: 59.94 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.009493, allocations: 0 / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.009584, allocations: 35.95 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.009874, allocations: 10.16 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.01025, allocations: 162.6 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.0103, allocations: 59.34 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.01035, allocations: 16.48 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01035, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of Templates: time 0.002215/0.01256, allocations: 0.913 MB / 1.007 GB, free: 6.527 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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.598498613573611]