Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001664/0.001664, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002023/0.002023, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [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.002166/0.002166, allocations: 70.03 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3625, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003959/0.3664, allocations: 1.875 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.5488, allocations: 136.7 MB / 1.418 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.549, allocations: 3.938 kB / 1.418 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.5492, allocations: 23.73 kB / 1.418 GB, free: 0.75 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.5496, allocations: 83.34 kB / 1.418 GB, free: 0.668 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.5505, allocations: 268.5 kB / 1.419 GB, free: 416 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.5509, allocations: 263.2 kB / 1.419 GB, free: 152 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.5511, allocations: 42.55 kB / 1.419 GB, free: 108 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.5528, allocations: 263.3 kB / 1.419 GB, free: 15.87 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.553, allocations: 79.61 kB / 1.419 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.5531, allocations: 16 kB / 1.419 GB, free: 15.78 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.5535, allocations: 179.7 kB / 1.42 GB, free: 15.6 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.5536, allocations: 51.81 kB / 1.42 GB, free: 15.55 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.5537, allocations: 75.66 kB / 1.42 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.5543, allocations: 294.9 kB / 1.42 GB, free: 15.19 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5543, allocations: 0 / 1.42 GB, free: 15.19 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5543, allocations: 0 / 1.42 GB, free: 15.19 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.5543, allocations: 3.938 kB / 1.42 GB, free: 15.18 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001103/0.5554, allocations: 473.2 kB / 1.42 GB, free: 14.69 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5554, allocations: 8.031 kB / 1.42 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5567, allocations: 119.7 kB / 1.42 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.557, allocations: 168.8 kB / 1.421 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.5571, allocations: 71.72 kB / 1.421 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.5572, allocations: 12 kB / 1.421 GB, free: 14.28 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.5578, allocations: 318 kB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5578, allocations: 4 kB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.5578, allocations: 4 kB / 1.421 GB, free: 13.92 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5578, allocations: 4 kB / 1.421 GB, free: 13.92 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.5583, allocations: 171.8 kB / 1.421 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.5601, allocations: 1.075 MB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.5609, allocations: 198.6 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.5611, allocations: 68.81 kB / 1.423 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.5611, allocations: 4 kB / 1.423 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.5612, allocations: 30.56 kB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.5612, allocations: 3.938 kB / 1.423 GB, free: 12.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002714/0.5639, allocations: 494.6 kB / 1.423 GB, free: 11.8 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.5639, allocations: 55.34 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.5642, allocations: 187.9 kB / 1.423 GB, free: 11.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.5642, allocations: 33.7 kB / 1.423 GB, free: 11.5 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5643, allocations: 136.2 kB / 1.423 GB, free: 11.37 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.5643, allocations: 39.69 kB / 1.423 GB, free: 11.33 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.5645, allocations: 53.62 kB / 1.424 GB, free: 11.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5646, allocations: 326.8 kB / 1.424 GB, free: 10.94 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.5648, allocations: 71.95 kB / 1.424 GB, free: 10.87 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.5651, allocations: 152.4 kB / 1.424 GB, free: 10.69 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.5656, allocations: 208.3 kB / 1.424 GB, free: 10.46 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5656, allocations: 0 / 1.424 GB, free: 10.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001507/0.5671, allocations: 377.4 kB / 1.425 GB, free: 10.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5671, allocations: 8 kB / 1.425 GB, free: 10.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.5671, allocations: 0 / 1.425 GB, free: 10.08 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.5682, allocations: 165.7 kB / 1.425 GB, free: 9.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.5685, allocations: 35.97 kB / 1.425 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.5728, allocations: 2.996 MB / 1.428 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.5731, allocations: 27.88 kB / 1.428 GB, free: 6.641 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.5731, allocations: 12.06 kB / 1.428 GB, free: 6.629 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.5733, allocations: 134.8 kB / 1.428 GB, free: 6.488 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.5733, allocations: 19.84 kB / 1.428 GB, free: 6.469 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.5747, allocations: 366.5 kB / 1.428 GB, free: 6.094 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5747, allocations: 3.938 kB / 1.428 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5747, allocations: 4 kB / 1.428 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5747, allocations: 3.984 kB / 1.428 GB, free: 6.082 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.575, allocations: 189.2 kB / 1.428 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.575, allocations: 0 / 1.428 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.5751, allocations: 23.92 kB / 1.428 GB, free: 5.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008565/0.576, allocations: 149.5 kB / 1.429 GB, free: 5.691 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.576, allocations: 0 / 1.429 GB, free: 5.691 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.58, allocations: 3.029 MB / 1.432 GB, free: 2.449 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.58, allocations: 3.938 kB / 1.432 GB, free: 2.445 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5813, allocations: 436.7 kB / 1.432 GB, free: 1.996 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5814, allocations: 27.83 kB / 1.432 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.5815, allocations: 4 kB / 1.432 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.5818, allocations: 19.97 kB / 1.432 GB, free: 1.945 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.5818, allocations: 19.97 kB / 1.432 GB, free: 1.926 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.5819, allocations: 4 kB / 1.432 GB, free: 1.922 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001681/0.582, allocations: 139.2 kB / 1.432 GB, free: 1.785 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.582, allocations: 0 / 1.432 GB, free: 1.785 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000448/0.5825, allocations: 71.89 kB / 1.432 GB, free: 1.715 MB / 1.123 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.5827, allocations: 123.1 kB / 1.432 GB, free: 1.582 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.5838, allocations: 445.6 kB / 1.433 GB, free: 1.121 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5838, allocations: 0 / 1.433 GB, free: 1.121 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.5846, allocations: 350.9 kB / 1.433 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.585, allocations: 43.66 kB / 1.433 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.5861, allocations: 424.9 kB / 1.434 GB, free: 280 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5862, allocations: 132.4 kB / 1.434 GB, free: 124 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.5864, allocations: 29.47 kB / 1.434 GB, free: 92 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.5865, allocations: 19.42 kB / 1.434 GB, free: 72 kB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/0.5865, allocations: 0 / 1.434 GB, free: 72 kB / 1.123 GB Notification: Performance of Templates: time 0.01078/0.5972, allocations: 5.06 MB / 1.439 GB, free: 11.1 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.359969375655055]