Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 68.55 kB / 1.109 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3822, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002565/0.3848, allocations: 1.278 MB / 1.275 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3862, allocations: 0.8344 MB / 1.276 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.3862, allocations: 4 kB / 1.276 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.3863, allocations: 0 / 1.276 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.3863, allocations: 11.92 kB / 1.276 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.3868, allocations: 131.4 kB / 1.276 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.3869, allocations: 23.92 kB / 1.276 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.3869, allocations: 0 / 1.276 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.387, allocations: 15.94 kB / 1.276 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.387, allocations: 15.97 kB / 1.276 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.387, allocations: 0 / 1.276 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.3874, allocations: 171.7 kB / 1.276 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.3874, allocations: 7.922 kB / 1.276 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.3874, allocations: 11.92 kB / 1.276 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3877, allocations: 115.7 kB / 1.277 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3877, allocations: 0 / 1.277 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3877, allocations: 0 / 1.277 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3877, allocations: 0 / 1.277 GB, free: 8.617 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005219/0.3882, allocations: 363.1 kB / 1.277 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3882, allocations: 8.031 kB / 1.277 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3883, allocations: 8.891 kB / 1.277 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3884, allocations: 168.3 kB / 1.277 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.3885, allocations: 34.27 kB / 1.277 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3885, allocations: 384 / 1.277 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3887, allocations: 46.25 kB / 1.277 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3887, allocations: 3.938 kB / 1.277 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3887, allocations: 3.984 kB / 1.277 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3887, allocations: 0 / 1.277 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3888, allocations: 23.98 kB / 1.277 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.389, allocations: 157.7 kB / 1.277 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3892, allocations: 42.64 kB / 1.277 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.312e-05/0.3893, allocations: 20.84 kB / 1.277 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.3896, allocations: 182.2 kB / 1.278 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3896, allocations: 30.56 kB / 1.278 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3896, allocations: 0 / 1.278 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.00026/0.3899, allocations: 73.55 kB / 1.278 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3899, allocations: 59.34 kB / 1.278 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.39, allocations: 97.84 kB / 1.278 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.39, allocations: 25.7 kB / 1.278 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.39, allocations: 84.14 kB / 1.278 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3901, allocations: 19.84 kB / 1.278 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3901, allocations: 13.72 kB / 1.278 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3902, allocations: 314.8 kB / 1.278 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.3903, allocations: 7.984 kB / 1.278 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.3903, allocations: 15.98 kB / 1.278 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.3904, allocations: 24.86 kB / 1.278 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3904, allocations: 0 / 1.278 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/0.3906, allocations: 61.62 kB / 1.278 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3906, allocations: 19.81 kB / 1.278 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3906, allocations: 0 / 1.278 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3906, allocations: 0 / 1.278 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.3907, allocations: 8 kB / 1.278 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3907, allocations: 0 / 1.278 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.3907, allocations: 3.984 kB / 1.278 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3907, allocations: 0 / 1.278 GB, free: 6.465 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.041e-05/0.3908, allocations: 114.4 kB / 1.279 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.3908, allocations: 3.938 kB / 1.279 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.391, allocations: 69.17 kB / 1.279 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.391, allocations: 0.5625 kB / 1.279 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.391, allocations: 0 / 1.279 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.391, allocations: 3.938 kB / 1.279 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3911, allocations: 157.7 kB / 1.279 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3911, allocations: 4 kB / 1.279 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.3912, allocations: 11.98 kB / 1.279 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3912, allocations: 7.938 kB / 1.279 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3912, allocations: 3.984 kB / 1.279 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3912, allocations: 0 / 1.279 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3912, allocations: 0 / 1.279 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3914, allocations: 85.06 kB / 1.279 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.3914, allocations: 77.11 kB / 1.279 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3914, allocations: 7.938 kB / 1.279 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.3915, allocations: 7.984 kB / 1.279 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3915, allocations: 4 kB / 1.279 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3915, allocations: 4 kB / 1.279 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.3916, allocations: 75.28 kB / 1.279 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3916, allocations: 3.938 kB / 1.279 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002331/0.3918, allocations: 43.8 kB / 1.279 GB, free: 5.691 MB / 0.9825 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 (4): * Single equations (assignments): 4 * 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.0002182/0.392, allocations: 143 kB / 1.279 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3922, allocations: 31.92 kB / 1.279 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3922, allocations: 0 / 1.279 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.3922, allocations: 8 kB / 1.279 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3925, allocations: 13.86 kB / 1.279 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.3928, allocations: 139 kB / 1.279 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.393, allocations: 0.6768 MB / 1.28 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.3931, allocations: 8 kB / 1.28 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.3931, allocations: 7.438 kB / 1.28 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3931, allocations: 0 / 1.28 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.003827/0.3969, allocations: 1.078 MB / 1.281 GB, free: 3.543 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.810763120185584]