Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00145/0.00145, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001618/0.001618, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.768/2.768, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] 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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.684e-05, allocations: 6.312 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002614/0.002641, allocations: 1.305 MB / 0.7877 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.1826, allocations: 129.6 MB / 0.9143 GB, free: 8.312 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.1826, allocations: 3.938 kB / 0.9143 GB, free: 8.309 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.1826, allocations: 3.984 kB / 0.9143 GB, free: 8.305 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.1827, allocations: 11.92 kB / 0.9143 GB, free: 8.293 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1832, allocations: 123.3 kB / 0.9144 GB, free: 8.172 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.1833, allocations: 23.81 kB / 0.9144 GB, free: 8.148 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.1833, allocations: 0 / 0.9144 GB, free: 8.148 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.1834, allocations: 7.984 kB / 0.9144 GB, free: 8.141 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.432e-05/0.1834, allocations: 7.938 kB / 0.9144 GB, free: 8.133 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1834, allocations: 0 / 0.9144 GB, free: 8.133 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.1839, allocations: 175.6 kB / 0.9146 GB, free: 7.961 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1839, allocations: 0 / 0.9146 GB, free: 7.961 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1839, allocations: 8 kB / 0.9146 GB, free: 7.953 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1842, allocations: 127.5 kB / 0.9147 GB, free: 7.828 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1842, allocations: 0 / 0.9147 GB, free: 7.828 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1842, allocations: 0 / 0.9147 GB, free: 7.828 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1842, allocations: 4 kB / 0.9147 GB, free: 7.824 MB / 0.823 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.0003871/0.1846, allocations: 270.1 kB / 0.915 GB, free: 7.531 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1847, allocations: 12.03 kB / 0.915 GB, free: 7.52 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/0.1853, allocations: 52.77 kB / 0.9151 GB, free: 7.469 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1854, allocations: 109.7 kB / 0.9152 GB, free: 7.336 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1854, allocations: 4.375 kB / 0.9152 GB, free: 7.332 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1855, allocations: 384 / 0.9152 GB, free: 7.332 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1856, allocations: 53.58 kB / 0.9152 GB, free: 7.273 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1856, allocations: 0 / 0.9152 GB, free: 7.273 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1857, allocations: 4 kB / 0.9152 GB, free: 7.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1857, allocations: 0 / 0.9152 GB, free: 7.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1858, allocations: 23.92 kB / 0.9152 GB, free: 7.246 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.1862, allocations: 200.5 kB / 0.9154 GB, free: 7.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.1863, allocations: 22.58 kB / 0.9155 GB, free: 6.988 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.1863, allocations: 16.84 kB / 0.9155 GB, free: 6.969 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.1863, allocations: 0 / 0.9155 GB, free: 6.969 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1864, allocations: 30.56 kB / 0.9155 GB, free: 6.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1864, allocations: 0 / 0.9155 GB, free: 6.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.1865, allocations: 49.59 kB / 0.9155 GB, free: 6.875 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1866, allocations: 55.53 kB / 0.9156 GB, free: 6.809 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1868, allocations: 113.8 kB / 0.9157 GB, free: 6.688 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1868, allocations: 29.7 kB / 0.9157 GB, free: 6.652 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1868, allocations: 84.12 kB / 0.9158 GB, free: 6.566 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.1869, allocations: 3.953 kB / 0.9158 GB, free: 6.562 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.1869, allocations: 17.7 kB / 0.9158 GB, free: 6.539 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1871, allocations: 318.8 kB / 0.9161 GB, free: 6.219 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.1871, allocations: 7.984 kB / 0.9161 GB, free: 6.211 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.1872, allocations: 15.98 kB / 0.9162 GB, free: 6.195 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.1873, allocations: 24.78 kB / 0.9162 GB, free: 6.168 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1873, allocations: 0 / 0.9162 GB, free: 6.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002189/0.1875, allocations: 61.61 kB / 0.9162 GB, free: 6.102 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1875, allocations: 4 kB / 0.9162 GB, free: 6.098 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1876, allocations: 0 / 0.9162 GB, free: 6.098 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1876, allocations: 4 kB / 0.9163 GB, free: 6.094 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1877, allocations: 11.98 kB / 0.9163 GB, free: 6.082 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1877, allocations: 0 / 0.9163 GB, free: 6.082 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1879, allocations: 15.94 kB / 0.9163 GB, free: 6.066 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1879, allocations: 0 / 0.9163 GB, free: 6.066 MB / 0.823 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.317e-05/0.188, allocations: 113.8 kB / 0.9164 GB, free: 5.945 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.188, allocations: 4 kB / 0.9164 GB, free: 5.941 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.188, allocations: 3.312 kB / 0.9164 GB, free: 5.934 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.188, allocations: 3.984 kB / 0.9164 GB, free: 5.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.188, allocations: 4 kB / 0.9164 GB, free: 5.926 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.188, allocations: 4.328 kB / 0.9164 GB, free: 5.922 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1882, allocations: 105.3 kB / 0.9165 GB, free: 5.789 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1882, allocations: 0 / 0.9165 GB, free: 5.789 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.1882, allocations: 7.938 kB / 0.9165 GB, free: 5.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1882, allocations: 0 / 0.9165 GB, free: 5.781 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1882, allocations: 3.984 kB / 0.9165 GB, free: 5.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1882, allocations: 4 kB / 0.9165 GB, free: 5.773 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1882, allocations: 3.938 kB / 0.9165 GB, free: 5.77 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1884, allocations: 135.5 kB / 0.9167 GB, free: 5.621 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.1884, allocations: 4 kB / 0.9167 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.1884, allocations: 4.031 kB / 0.9167 GB, free: 5.613 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1885, allocations: 7.984 kB / 0.9167 GB, free: 5.605 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1885, allocations: 0 / 0.9167 GB, free: 5.605 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1885, allocations: 0 / 0.9167 GB, free: 5.605 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001219/0.1886, allocations: 91.27 kB / 0.9168 GB, free: 5.516 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.1886, allocations: 0 / 0.9168 GB, free: 5.516 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002565/0.1889, allocations: 15.94 kB / 0.9168 GB, free: 5.5 MB / 0.823 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.0001995/0.1891, allocations: 123.1 kB / 0.9169 GB, free: 5.371 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1892, allocations: 19.98 kB / 0.9169 GB, free: 5.352 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1892, allocations: 0 / 0.9169 GB, free: 5.352 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.1893, allocations: 4 kB / 0.9169 GB, free: 5.348 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1896, allocations: 19.91 kB / 0.9169 GB, free: 5.328 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.1899, allocations: 112.6 kB / 0.917 GB, free: 5.191 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.657e-05/0.19, allocations: 63.41 kB / 0.9171 GB, free: 5.109 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.475e-05/0.19, allocations: 11.95 kB / 0.9171 GB, free: 5.098 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1901, allocations: 8.5 kB / 0.9171 GB, free: 5.09 MB / 0.823 GB Notification: Performance of SimCode: time 4.51e-07/0.1901, allocations: 0 / 0.9171 GB, free: 5.09 MB / 0.823 GB Notification: Performance of Templates: time 0.003576/0.1937, allocations: 0.8 MB / 0.9179 GB, free: 4.309 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.755058498936705]