Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001409/0.001409, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.001481/0.001481, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_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_12_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.002133/0.002133, allocations: 66.16 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.366, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003146/0.3691, allocations: 1.695 MB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1948/0.5639, allocations: 153 MB / 1.472 GB, free: 7.578 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.564, allocations: 0 / 1.472 GB, free: 7.578 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.5642, allocations: 27.73 kB / 1.472 GB, free: 7.551 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.5644, allocations: 59.56 kB / 1.472 GB, free: 7.492 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.5649, allocations: 191.3 kB / 1.473 GB, free: 7.305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.5652, allocations: 159.5 kB / 1.473 GB, free: 7.148 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.5653, allocations: 29.05 kB / 1.473 GB, free: 7.117 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.5668, allocations: 195 kB / 1.473 GB, free: 6.949 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.5669, allocations: 63.73 kB / 1.473 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.567, allocations: 11.94 kB / 1.473 GB, free: 6.875 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.5673, allocations: 175.7 kB / 1.473 GB, free: 6.703 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.5674, allocations: 27.91 kB / 1.473 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.5674, allocations: 59.72 kB / 1.473 GB, free: 6.617 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.5678, allocations: 203.2 kB / 1.473 GB, free: 6.418 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5678, allocations: 4 kB / 1.473 GB, free: 6.414 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5678, allocations: 3.938 kB / 1.473 GB, free: 6.41 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5678, allocations: 0 / 1.473 GB, free: 6.41 MB / 1.17 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.001006/0.5688, allocations: 478.6 kB / 1.474 GB, free: 5.895 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5689, allocations: 11.98 kB / 1.474 GB, free: 5.883 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009002/0.5698, allocations: 76.77 kB / 1.474 GB, free: 5.809 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.5701, allocations: 202.9 kB / 1.474 GB, free: 5.57 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.5701, allocations: 4 kB / 1.474 GB, free: 5.566 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.5701, allocations: 8 kB / 1.474 GB, free: 5.559 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.5706, allocations: 193.7 kB / 1.474 GB, free: 5.348 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.5706, allocations: 0 / 1.474 GB, free: 5.348 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.5707, allocations: 4 kB / 1.474 GB, free: 5.344 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5707, allocations: 0 / 1.474 GB, free: 5.344 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.5712, allocations: 147.8 kB / 1.475 GB, free: 5.199 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.5725, allocations: 0.8206 MB / 1.475 GB, free: 4.301 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.573, allocations: 126.4 kB / 1.475 GB, free: 4.168 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.5732, allocations: 88.78 kB / 1.476 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.5733, allocations: 0 / 1.476 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.5733, allocations: 30.56 kB / 1.476 GB, free: 4.039 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.5733, allocations: 0 / 1.476 GB, free: 4.039 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.002063/0.5754, allocations: 471.3 kB / 1.476 GB, free: 3.551 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5754, allocations: 55.39 kB / 1.476 GB, free: 3.484 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.5756, allocations: 153.2 kB / 1.476 GB, free: 3.328 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5756, allocations: 29.7 kB / 1.476 GB, free: 3.293 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.5757, allocations: 108.3 kB / 1.476 GB, free: 3.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.5757, allocations: 31.73 kB / 1.476 GB, free: 3.152 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.5758, allocations: 25.7 kB / 1.476 GB, free: 3.121 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5759, allocations: 326.8 kB / 1.477 GB, free: 2.793 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.5762, allocations: 67.94 kB / 1.477 GB, free: 2.727 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.5765, allocations: 104.2 kB / 1.477 GB, free: 2.609 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.5771, allocations: 176.1 kB / 1.477 GB, free: 2.422 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5771, allocations: 0 / 1.477 GB, free: 2.422 MB / 1.17 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001125/0.5782, allocations: 282 kB / 1.477 GB, free: 2.137 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5782, allocations: 11.92 kB / 1.477 GB, free: 2.125 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5782, allocations: 4 kB / 1.477 GB, free: 2.121 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/0.5789, allocations: 88.88 kB / 1.477 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.5791, allocations: 35.89 kB / 1.477 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.5816, allocations: 1.671 MB / 1.479 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5818, allocations: 24.05 kB / 1.479 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.5818, allocations: 7.984 kB / 1.479 GB, free: 160 kB / 1.17 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.0001268/0.5819, allocations: 123.8 kB / 1.479 GB, free: 28 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.582, allocations: 11.91 kB / 1.479 GB, free: 16 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.5832, allocations: 322.9 kB / 1.48 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5832, allocations: 0 / 1.48 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.5832, allocations: 0 / 1.48 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5832, allocations: 0 / 1.48 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.5835, allocations: 241.5 kB / 1.48 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5835, allocations: 0 / 1.48 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.5837, allocations: 35.95 kB / 1.48 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.5841, allocations: 72.78 kB / 1.48 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.5842, allocations: 3.938 kB / 1.48 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.5863, allocations: 1.685 MB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5863, allocations: 4.094 kB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.5875, allocations: 385 kB / 1.482 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5876, allocations: 105 kB / 1.482 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.5876, allocations: 0 / 1.482 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.5878, allocations: 23.92 kB / 1.482 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.5879, allocations: 11.92 kB / 1.482 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.5879, allocations: 7.984 kB / 1.482 GB, free: 12.9 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.911e-05/0.588, allocations: 121.1 kB / 1.482 GB, free: 12.78 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.588, allocations: 0 / 1.482 GB, free: 12.78 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003701/0.5884, allocations: 47.89 kB / 1.482 GB, free: 12.73 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 (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.0002254/0.5886, allocations: 111.2 kB / 1.482 GB, free: 12.62 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.5896, allocations: 302.5 kB / 1.483 GB, free: 12.31 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5896, allocations: 3.938 kB / 1.483 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.5902, allocations: 230.7 kB / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.5906, allocations: 29.64 kB / 1.483 GB, free: 12.04 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/0.5915, allocations: 303.8 kB / 1.483 GB, free: 11.71 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5919, allocations: 0.7162 MB / 1.484 GB, free: 10.97 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.592, allocations: 24.88 kB / 1.484 GB, free: 10.95 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.5921, allocations: 23.36 kB / 1.484 GB, free: 10.93 MB / 1.186 GB Notification: Performance of SimCode: time 2.91e-07/0.5921, allocations: 0 / 1.484 GB, free: 10.93 MB / 1.186 GB Notification: Performance of Templates: time 0.00764/0.5997, allocations: 3.247 MB / 1.487 GB, free: 7.703 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.108642589766532]