Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001956/0.001956, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002098/0.002098, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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 1.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.867/2.867, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.642e-06, allocations: 4 kB / 0.7864 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/3.293e-05, allocations: 6.344 kB / 0.7864 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002857/0.00289, allocations: 1.438 MB / 0.7878 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004089, allocations: 0.5929 MB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.004116, allocations: 4 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.004148, allocations: 7.922 kB / 0.7884 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.004211, allocations: 3.938 kB / 0.7884 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.004628, allocations: 100.7 kB / 0.7885 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/0.004702, allocations: 27.88 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.004781, allocations: 5.578 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.00484, allocations: 12 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.004885, allocations: 7.984 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.004899, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.005208, allocations: 151.2 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.005221, allocations: 4 kB / 0.7887 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.005252, allocations: 7.984 kB / 0.7887 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.005523, allocations: 111.7 kB / 0.7888 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.005529, allocations: 3.984 kB / 0.7888 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00553, allocations: 0 / 0.7888 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005535, allocations: 4 kB / 0.7888 GB, free: 10.39 MB / 0.7448 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.0005404/0.006075, allocations: 376.1 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.006114, allocations: 8.031 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/0.006582, allocations: 43.14 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.006702, allocations: 104.6 kB / 0.7893 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.006716, allocations: 4.375 kB / 0.7893 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.006728, allocations: 0.9062 kB / 0.7893 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.00693, allocations: 63.06 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006938, allocations: 4.125 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006949, allocations: 1.281 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.006953, allocations: 384 / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.007157, allocations: 48.92 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.007668, allocations: 277 kB / 0.7897 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.007861, allocations: 63.88 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.007964, allocations: 28.83 kB / 0.7898 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.007985, allocations: 0 / 0.7898 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.008027, allocations: 37.39 kB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.008028, allocations: 0.9688 kB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004193/0.008448, allocations: 103.1 kB / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.008493, allocations: 51.41 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.008616, allocations: 158.5 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.008789, allocations: 30.39 kB / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.008871, allocations: 134.8 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.00889, allocations: 4.453 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.008942, allocations: 24.06 kB / 0.7903 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.009197, allocations: 496.1 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.009292, allocations: 24.98 kB / 0.7908 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.009376, allocations: 20.52 kB / 0.7908 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.009553, allocations: 45.05 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009554, allocations: 1.188 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002385/0.009793, allocations: 78.41 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.00981, allocations: 8.938 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.009817, allocations: 3.938 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.009831, allocations: 0 / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.009953, allocations: 13.2 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.009958, allocations: 0 / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.01003, allocations: 8.797 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01004, allocations: 3.984 kB / 0.7909 GB, free: 7.984 MB / 0.7448 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 0.0001151/0.01015, allocations: 158.8 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01019, allocations: 8 kB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.01023, allocations: 7.25 kB / 0.7911 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01024, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01024, allocations: 6.938 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.01024, allocations: 0 / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.01041, allocations: 120.6 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01041, allocations: 0 / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.0105, allocations: 11.98 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.0105, allocations: 0 / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01051, allocations: 0 / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01052, allocations: 3.938 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01052, allocations: 5.312 kB / 0.7913 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.01087, allocations: 224.5 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.01088, allocations: 0.5 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.01089, allocations: 4 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01099, allocations: 12.48 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.01103, allocations: 1.375 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.01104, allocations: 0 / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.01112, allocations: 131.2 kB / 0.7916 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01112, allocations: 1.219 kB / 0.7916 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002435/0.01136, allocations: 15.94 kB / 0.7916 GB, free: 7.23 MB / 0.7448 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.0002232/0.01158, allocations: 112.3 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.01185, allocations: 56.25 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01185, allocations: 1.406 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.01197, allocations: 31.67 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01222, allocations: 11.64 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.01264, allocations: 130.2 kB / 0.792 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.01271, allocations: 59.36 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.645e-05/0.01279, allocations: 8.156 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.01284, allocations: 17.45 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01284, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of Templates: time 0.004196/0.01703, allocations: 0.9541 MB / 0.793 GB, free: 5.824 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.743549579987302]