Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001455/0.001455, allocations: 84.39 kB / 20.23 MB, free: 4.184 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.001852/0.001852, allocations: 161.3 kB / 23.54 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.474/1.474, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.827/2.827, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.061e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002532/0.002563, allocations: 1.305 MB / 0.8121 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.1846, allocations: 129.6 MB / 0.9387 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.1846, allocations: 8 kB / 0.9387 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.1846, allocations: 3.984 kB / 0.9387 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.1847, allocations: 11.86 kB / 0.9387 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.1852, allocations: 115.3 kB / 0.9388 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.1853, allocations: 19.88 kB / 0.9388 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.1853, allocations: 0 / 0.9388 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.1854, allocations: 15.92 kB / 0.9389 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.1854, allocations: 7.984 kB / 0.9389 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1854, allocations: 8 kB / 0.9389 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.1858, allocations: 163.6 kB / 0.939 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.1859, allocations: 0 / 0.939 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.1859, allocations: 11.92 kB / 0.939 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1862, allocations: 119.6 kB / 0.9392 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1862, allocations: 8 kB / 0.9392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1862, allocations: 0 / 0.9392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1862, allocations: 0 / 0.9392 GB, free: 14.23 MB / 0.9011 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.0003779/0.1865, allocations: 274 kB / 0.9394 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1866, allocations: 8.031 kB / 0.9394 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.1872, allocations: 52.81 kB / 0.9395 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1873, allocations: 113.7 kB / 0.9396 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1873, allocations: 384 / 0.9396 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1874, allocations: 4.312 kB / 0.9396 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1876, allocations: 61.52 kB / 0.9397 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1876, allocations: 0 / 0.9397 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1876, allocations: 4 kB / 0.9397 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1876, allocations: 0 / 0.9397 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1877, allocations: 15.98 kB / 0.9397 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1881, allocations: 200.5 kB / 0.9399 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.55e-05/0.1881, allocations: 22.58 kB / 0.9399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.1882, allocations: 16.84 kB / 0.9399 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.1882, allocations: 0 / 0.9399 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1882, allocations: 34.56 kB / 0.9399 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1882, allocations: 4 kB / 0.9399 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.1884, allocations: 41.66 kB / 0.94 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1884, allocations: 51.41 kB / 0.94 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1886, allocations: 117.8 kB / 0.9401 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1886, allocations: 25.7 kB / 0.9402 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1886, allocations: 80.14 kB / 0.9402 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1887, allocations: 7.953 kB / 0.9403 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.1887, allocations: 25.64 kB / 0.9403 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1889, allocations: 315 kB / 0.9406 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1889, allocations: 7.984 kB / 0.9406 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.189, allocations: 11.98 kB / 0.9406 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.273e-05/0.1891, allocations: 24.78 kB / 0.9406 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1891, allocations: 4 kB / 0.9406 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002101/0.1893, allocations: 57.62 kB / 0.9407 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1893, allocations: 12 kB / 0.9407 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1893, allocations: 0 / 0.9407 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1894, allocations: 0 / 0.9407 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1895, allocations: 11.92 kB / 0.9407 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1895, allocations: 0 / 0.9407 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1896, allocations: 15.98 kB / 0.9407 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1896, allocations: 0 / 0.9407 GB, free: 12.47 MB / 0.9011 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.482e-05/0.1897, allocations: 113.8 kB / 0.9408 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1898, allocations: 4 kB / 0.9408 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.1898, allocations: 7.312 kB / 0.9408 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1898, allocations: 0 / 0.9408 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1898, allocations: 3.938 kB / 0.9408 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1898, allocations: 7.984 kB / 0.9408 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1899, allocations: 97.27 kB / 0.9409 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1899, allocations: 4.328 kB / 0.9409 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.19, allocations: 4 kB / 0.9409 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.19, allocations: 0 / 0.9409 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.19, allocations: 4 kB / 0.941 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.19, allocations: 0 / 0.941 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.19, allocations: 4 kB / 0.941 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.1901, allocations: 147.4 kB / 0.9411 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.1902, allocations: 3.953 kB / 0.9411 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1902, allocations: 0 / 0.9411 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1903, allocations: 7.984 kB / 0.9411 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1903, allocations: 4 kB / 0.9411 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.1903, allocations: 0 / 0.9411 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001099/0.1904, allocations: 87.27 kB / 0.9412 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1904, allocations: 32 / 0.9412 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002583/0.1907, allocations: 23.94 kB / 0.9412 GB, free: 11.9 MB / 0.9011 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.0002871/0.191, allocations: 115.2 kB / 0.9413 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1911, allocations: 15.98 kB / 0.9413 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1911, allocations: 0 / 0.9413 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.1911, allocations: 7.938 kB / 0.9414 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1915, allocations: 15.98 kB / 0.9414 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.1918, allocations: 112.8 kB / 0.9415 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.1918, allocations: 59.34 kB / 0.9415 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 6.628e-05/0.1919, allocations: 11.94 kB / 0.9415 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.1919, allocations: 8.5 kB / 0.9416 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of SimCode: time 3.31e-07/0.1919, allocations: 0 / 0.9416 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of Templates: time 0.003783/0.1957, allocations: 0.7969 MB / 0.9423 GB, free: 10.73 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.888095389935188]