Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001332/0.001332, 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.001462/0.001462, allocations: 211.8 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.816 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.456/3.456, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [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.00204/0.00204, allocations: 63.22 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3942, allocations: 181.9 MB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00314/0.3974, allocations: 1.658 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.565, allocations: 131.5 MB / 1.494 GB, free: 8.051 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.5651, allocations: 0 / 1.494 GB, free: 8.051 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.5653, allocations: 23.8 kB / 1.494 GB, free: 8.027 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.5656, allocations: 55.62 kB / 1.494 GB, free: 7.973 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.5662, allocations: 187.3 kB / 1.494 GB, free: 7.789 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.5665, allocations: 167.5 kB / 1.494 GB, free: 7.625 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.5666, allocations: 21.23 kB / 1.494 GB, free: 7.605 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.5682, allocations: 214 kB / 1.495 GB, free: 7.418 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.5684, allocations: 59.75 kB / 1.495 GB, free: 7.359 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.5684, allocations: 8 kB / 1.495 GB, free: 7.352 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.5688, allocations: 159.8 kB / 1.495 GB, free: 7.195 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.5688, allocations: 31.91 kB / 1.495 GB, free: 7.164 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.5689, allocations: 43.8 kB / 1.495 GB, free: 7.121 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.5693, allocations: 211.2 kB / 1.495 GB, free: 6.914 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5693, allocations: 3.984 kB / 1.495 GB, free: 6.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5693, allocations: 0 / 1.495 GB, free: 6.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5693, allocations: 0 / 1.495 GB, free: 6.91 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009356/0.5703, allocations: 405.4 kB / 1.495 GB, free: 6.484 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5703, allocations: 8.031 kB / 1.495 GB, free: 6.477 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/0.5712, allocations: 72.81 kB / 1.495 GB, free: 6.406 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.5715, allocations: 148.9 kB / 1.496 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5715, allocations: 4 kB / 1.496 GB, free: 6.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.5715, allocations: 12 kB / 1.496 GB, free: 6.219 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.572, allocations: 181.8 kB / 1.496 GB, free: 6.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.572, allocations: 0 / 1.496 GB, free: 6.02 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.5721, allocations: 4 kB / 1.496 GB, free: 6.016 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5721, allocations: 11.94 kB / 1.496 GB, free: 6.004 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.5726, allocations: 143.8 kB / 1.496 GB, free: 5.863 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.5739, allocations: 0.6881 MB / 1.497 GB, free: 5.129 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.5743, allocations: 122.5 kB / 1.497 GB, free: 5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.5746, allocations: 84.89 kB / 1.497 GB, free: 4.914 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.5746, allocations: 7.984 kB / 1.497 GB, free: 4.906 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5747, allocations: 30.56 kB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.5747, allocations: 0 / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.001998/0.5767, allocations: 386 kB / 1.497 GB, free: 4.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.5767, allocations: 55.41 kB / 1.497 GB, free: 4.414 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.5769, allocations: 151.7 kB / 1.497 GB, free: 4.258 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5769, allocations: 29.69 kB / 1.497 GB, free: 4.223 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.577, allocations: 108 kB / 1.498 GB, free: 4.113 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.577, allocations: 31.73 kB / 1.498 GB, free: 4.082 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.5771, allocations: 29.7 kB / 1.498 GB, free: 4.047 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5772, allocations: 322.8 kB / 1.498 GB, free: 3.723 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.5775, allocations: 67.88 kB / 1.498 GB, free: 3.656 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.5778, allocations: 112.2 kB / 1.498 GB, free: 3.531 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.5783, allocations: 184.1 kB / 1.498 GB, free: 3.336 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5783, allocations: 0 / 1.498 GB, free: 3.336 MB / 1.186 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001073/0.5794, allocations: 274.2 kB / 1.499 GB, free: 3.059 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5794, allocations: 9.344 kB / 1.499 GB, free: 3.051 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5794, allocations: 0 / 1.499 GB, free: 3.051 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.58, allocations: 88.89 kB / 1.499 GB, free: 2.961 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.5803, allocations: 31.95 kB / 1.499 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.5826, allocations: 1.536 MB / 1.5 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.5828, allocations: 19.94 kB / 1.5 GB, free: 1.266 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.5828, allocations: 7.984 kB / 1.5 GB, free: 1.258 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.583, allocations: 126.8 kB / 1.5 GB, free: 1.125 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.5831, allocations: 11.95 kB / 1.5 GB, free: 1.113 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.5842, allocations: 313.3 kB / 1.501 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5842, allocations: 3.938 kB / 1.501 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.5842, allocations: 0 / 1.501 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5842, allocations: 3.938 kB / 1.501 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.5844, allocations: 173.2 kB / 1.501 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5844, allocations: 0 / 1.501 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.5846, allocations: 31.97 kB / 1.501 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.5851, allocations: 72.77 kB / 1.501 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5851, allocations: 4 kB / 1.501 GB, free: 500 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.5871, allocations: 1.559 MB / 1.502 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5871, allocations: 0 / 1.502 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.5882, allocations: 380.1 kB / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.5883, allocations: 23.92 kB / 1.503 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.5883, allocations: 3.938 kB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.5885, allocations: 15.98 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.5886, allocations: 11.97 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5886, allocations: 11.98 kB / 1.503 GB, free: 14.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 8.926e-05/0.5887, allocations: 109.3 kB / 1.503 GB, free: 14.26 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5887, allocations: 4 kB / 1.503 GB, free: 14.25 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003971/0.5891, allocations: 47.89 kB / 1.503 GB, free: 14.21 MB / 1.201 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.5893, allocations: 111.2 kB / 1.503 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009679/0.5903, allocations: 302.7 kB / 1.503 GB, free: 13.78 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5903, allocations: 0 / 1.503 GB, free: 13.78 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.5909, allocations: 230.5 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5912, allocations: 16.61 kB / 1.504 GB, free: 13.53 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.5921, allocations: 330.7 kB / 1.504 GB, free: 13.18 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/0.5922, allocations: 89.62 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.5923, allocations: 32.42 kB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.5924, allocations: 15.42 kB / 1.504 GB, free: 13.03 MB / 1.201 GB Notification: Performance of SimCode: time 3.81e-07/0.5924, allocations: 4 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of Templates: time 0.007766/0.6002, allocations: 3.26 MB / 1.507 GB, free: 9.816 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.366978198289871]