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.001671/0.001671, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002057/0.002057, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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.427/3.427, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.98 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3652, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002432/0.3677, allocations: 1.31 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.5395, allocations: 129.6 MB / 1.492 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.5396, allocations: 0 / 1.492 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.5396, allocations: 3.984 kB / 1.492 GB, free: 10.11 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.5397, allocations: 7.922 kB / 1.492 GB, free: 10.1 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.5402, allocations: 127.4 kB / 1.492 GB, free: 9.973 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.5402, allocations: 19.81 kB / 1.492 GB, free: 9.953 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.5403, allocations: 4 kB / 1.492 GB, free: 9.949 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.5403, allocations: 4 kB / 1.492 GB, free: 9.945 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.5404, allocations: 11.98 kB / 1.492 GB, free: 9.934 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.5404, allocations: 0 / 1.492 GB, free: 9.934 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.5408, allocations: 163.7 kB / 1.492 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.5408, allocations: 11.92 kB / 1.492 GB, free: 9.762 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.5408, allocations: 8 kB / 1.492 GB, free: 9.754 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.5411, allocations: 115.6 kB / 1.492 GB, free: 9.641 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5411, allocations: 3.938 kB / 1.492 GB, free: 9.637 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5411, allocations: 0 / 1.492 GB, free: 9.637 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.5411, allocations: 0 / 1.492 GB, free: 9.637 MB / 1.186 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.0003804/0.5415, allocations: 274.1 kB / 1.492 GB, free: 9.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5415, allocations: 8.031 kB / 1.492 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.5421, allocations: 48.83 kB / 1.492 GB, free: 9.285 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5422, allocations: 110.5 kB / 1.493 GB, free: 9.152 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5422, allocations: 3.938 kB / 1.493 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.5422, allocations: 0 / 1.493 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5424, allocations: 53.59 kB / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5424, allocations: 0 / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5424, allocations: 0 / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5424, allocations: 4 kB / 1.493 GB, free: 9.086 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.5426, allocations: 15.98 kB / 1.493 GB, free: 9.07 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.5429, allocations: 208.5 kB / 1.493 GB, free: 8.836 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.543, allocations: 18.58 kB / 1.493 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.543, allocations: 12.92 kB / 1.493 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-06/0.543, allocations: 0 / 1.493 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.5431, allocations: 38.55 kB / 1.493 GB, free: 8.746 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5431, allocations: 0 / 1.493 GB, free: 8.746 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.5432, allocations: 41.64 kB / 1.493 GB, free: 8.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.5433, allocations: 55.53 kB / 1.493 GB, free: 8.633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.5434, allocations: 113.8 kB / 1.493 GB, free: 8.512 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5434, allocations: 25.7 kB / 1.493 GB, free: 8.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.5435, allocations: 84.12 kB / 1.493 GB, free: 8.395 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.5435, allocations: 15.89 kB / 1.493 GB, free: 8.379 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.5435, allocations: 17.7 kB / 1.493 GB, free: 8.355 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5437, allocations: 314.8 kB / 1.494 GB, free: 8.039 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.5437, allocations: 11.98 kB / 1.494 GB, free: 8.027 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.5438, allocations: 15.98 kB / 1.494 GB, free: 8.012 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.5439, allocations: 20.84 kB / 1.494 GB, free: 7.988 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5439, allocations: 0 / 1.494 GB, free: 7.988 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001879/0.5441, allocations: 61.61 kB / 1.494 GB, free: 7.922 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5441, allocations: 4 kB / 1.494 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5441, allocations: 0 / 1.494 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5441, allocations: 4.328 kB / 1.494 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5442, allocations: 11.98 kB / 1.494 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5442, allocations: 0 / 1.494 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.5444, allocations: 11.98 kB / 1.494 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.5444, allocations: 0 / 1.494 GB, free: 7.891 MB / 1.186 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 8.02e-05/0.5445, allocations: 113.7 kB / 1.494 GB, free: 7.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5445, allocations: 11.94 kB / 1.494 GB, free: 7.758 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.5445, allocations: 7.312 kB / 1.494 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5445, allocations: 0 / 1.494 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5445, allocations: 0 / 1.494 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5445, allocations: 7.938 kB / 1.494 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.5447, allocations: 105.2 kB / 1.494 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5447, allocations: 0 / 1.494 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.5447, allocations: 4 kB / 1.494 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5447, allocations: 0 / 1.494 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.5447, allocations: 0 / 1.494 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5447, allocations: 7.938 kB / 1.494 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5447, allocations: 0 / 1.494 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.5448, allocations: 143.5 kB / 1.494 GB, free: 7.441 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.5448, allocations: 0 / 1.494 GB, free: 7.441 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5448, allocations: 8.031 kB / 1.494 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.5449, allocations: 0 / 1.494 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.545, allocations: 3.984 kB / 1.494 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.545, allocations: 4 kB / 1.494 GB, free: 7.426 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.52e-05/0.5451, allocations: 91.27 kB / 1.494 GB, free: 7.336 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5451, allocations: 0 / 1.494 GB, free: 7.336 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002502/0.5453, allocations: 15.94 kB / 1.494 GB, free: 7.32 MB / 1.186 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.0001955/0.5455, allocations: 110.2 kB / 1.494 GB, free: 7.207 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.5456, allocations: 27.86 kB / 1.494 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5457, allocations: 0 / 1.494 GB, free: 7.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.5457, allocations: 4 kB / 1.494 GB, free: 7.176 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.546, allocations: 7.984 kB / 1.494 GB, free: 7.168 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.5463, allocations: 115.6 kB / 1.494 GB, free: 7.027 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.5464, allocations: 59.36 kB / 1.495 GB, free: 6.949 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.5464, allocations: 11.98 kB / 1.495 GB, free: 6.938 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.5465, allocations: 15.44 kB / 1.495 GB, free: 6.922 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.5465, allocations: 3.938 kB / 1.495 GB, free: 6.918 MB / 1.186 GB Notification: Performance of Templates: time 0.003552/0.55, allocations: 0.7818 MB / 1.495 GB, free: 6.148 MB / 1.186 GB " [Timeout remaining time 299] 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: 9.282433012500405]