Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001374/0.001374, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001569/0.001569, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.479/1.479, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.232/3.232, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.106e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002665/0.002696, allocations: 1.32 MB / 0.8789 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.194, allocations: 129.7 MB / 1.005 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.1941, allocations: 4 kB / 1.005 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1941, allocations: 0 / 1.005 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.1942, allocations: 11.92 kB / 1.006 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.1949, allocations: 115.3 kB / 1.006 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.195, allocations: 27.8 kB / 1.006 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1951, allocations: 4 kB / 1.006 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.1951, allocations: 4 kB / 1.006 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.1952, allocations: 11.97 kB / 1.006 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1952, allocations: 4 kB / 1.006 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.1957, allocations: 167.6 kB / 1.006 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.1957, allocations: 7.938 kB / 1.006 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1958, allocations: 4 kB / 1.006 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1961, allocations: 127.6 kB / 1.006 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1961, allocations: 0 / 1.006 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1961, allocations: 0 / 1.006 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1961, allocations: 0 / 1.006 GB, free: 2.582 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.0004412/0.1966, allocations: 282 kB / 1.006 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1966, allocations: 12.03 kB / 1.006 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.1973, allocations: 44.83 kB / 1.006 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1975, allocations: 109.7 kB / 1.006 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1975, allocations: 8.375 kB / 1.006 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1975, allocations: 384 / 1.006 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1977, allocations: 45.61 kB / 1.006 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1977, allocations: 0 / 1.006 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1977, allocations: 7.984 kB / 1.006 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1977, allocations: 0 / 1.006 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1978, allocations: 23.92 kB / 1.006 GB, free: 2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1982, allocations: 200.5 kB / 1.007 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.1983, allocations: 26.58 kB / 1.007 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.1983, allocations: 8.922 kB / 1.007 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.1983, allocations: 0 / 1.007 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1983, allocations: 34.56 kB / 1.007 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1983, allocations: 0 / 1.007 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.1985, allocations: 49.62 kB / 1.007 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1986, allocations: 51.41 kB / 1.007 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1987, allocations: 109.8 kB / 1.007 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1988, allocations: 25.7 kB / 1.007 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1988, allocations: 88.09 kB / 1.007 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.1988, allocations: 7.938 kB / 1.007 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.1989, allocations: 17.83 kB / 1.007 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1991, allocations: 322.8 kB / 1.007 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.1992, allocations: 7.984 kB / 1.007 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.1992, allocations: 11.98 kB / 1.007 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1993, allocations: 24.73 kB / 1.007 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1993, allocations: 0 / 1.007 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002216/0.1996, allocations: 65.94 kB / 1.007 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1996, allocations: 4 kB / 1.007 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1996, allocations: 3.984 kB / 1.007 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1996, allocations: 3.984 kB / 1.007 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1997, allocations: 11.98 kB / 1.007 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1997, allocations: 0 / 1.007 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1999, allocations: 7.938 kB / 1.007 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1999, allocations: 7.984 kB / 1.008 GB, free: 0.8164 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 (3): * Single equations (assignments): 3 * 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 9.415e-05/0.2, allocations: 117.8 kB / 1.008 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.2, allocations: 4 kB / 1.008 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.2, allocations: 3.312 kB / 1.008 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2, allocations: 0 / 1.008 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2, allocations: 0 / 1.008 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2001, allocations: 4 kB / 1.008 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2002, allocations: 117.1 kB / 1.008 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2002, allocations: 0 / 1.008 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.2002, allocations: 4 kB / 1.008 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2002, allocations: 0 / 1.008 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.2002, allocations: 0 / 1.008 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2002, allocations: 4 kB / 1.008 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2002, allocations: 0 / 1.008 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2004, allocations: 139.5 kB / 1.008 GB, free: 380 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.2004, allocations: 4 kB / 1.008 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2004, allocations: 0 / 1.008 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.2005, allocations: 0 / 1.008 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.2006, allocations: 4 kB / 1.008 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2006, allocations: 3.984 kB / 1.008 GB, free: 368 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001076/0.2007, allocations: 91.27 kB / 1.008 GB, free: 276 kB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.2007, allocations: 4.031 kB / 1.008 GB, free: 272 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002765/0.2009, allocations: 12 kB / 1.008 GB, free: 260 kB / 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.0002061/0.2011, allocations: 114.6 kB / 1.008 GB, free: 140 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.2013, allocations: 19.98 kB / 1.008 GB, free: 120 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2013, allocations: 4 kB / 1.008 GB, free: 116 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.2013, allocations: 4 kB / 1.008 GB, free: 112 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2017, allocations: 19.98 kB / 1.008 GB, free: 92 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.2021, allocations: 112.7 kB / 1.008 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.2022, allocations: 67.28 kB / 1.008 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.339e-05/0.2022, allocations: 7.938 kB / 1.008 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.2023, allocations: 12.5 kB / 1.008 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of SimCode: time 5.31e-07/0.2023, allocations: 0 / 1.008 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of Templates: time 0.003916/0.2062, allocations: 0.8048 MB / 1.009 GB, free: 15.06 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: 8.191636597039178]