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.001585/0.001585, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001801/0.001801, allocations: 211.9 kB / 22.99 MB, free: 4.965 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.751/2.751, allocations: 476 MB / 0.7707 GB, free: 4.73 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.002118/0.002118, allocations: 69.34 kB / 1.118 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 170 MB / 1.284 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003396/0.3414, allocations: 1.86 MB / 1.286 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.5265, allocations: 136.7 MB / 1.419 GB, free: 8.656 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.5267, allocations: 4 kB / 1.419 GB, free: 8.652 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.5269, allocations: 23.67 kB / 1.419 GB, free: 8.629 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.5273, allocations: 83.41 kB / 1.419 GB, free: 8.547 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.5281, allocations: 259.1 kB / 1.419 GB, free: 8.293 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.5284, allocations: 267.1 kB / 1.42 GB, free: 8.031 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.5286, allocations: 46.55 kB / 1.42 GB, free: 7.988 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.5301, allocations: 259.1 kB / 1.42 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.5302, allocations: 91.53 kB / 1.42 GB, free: 7.668 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.5303, allocations: 12 kB / 1.42 GB, free: 7.656 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.5307, allocations: 179.7 kB / 1.42 GB, free: 7.48 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.5307, allocations: 39.89 kB / 1.42 GB, free: 7.441 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.5308, allocations: 79.66 kB / 1.42 GB, free: 7.363 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.5313, allocations: 298.8 kB / 1.421 GB, free: 7.07 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5313, allocations: 7.984 kB / 1.421 GB, free: 7.062 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5313, allocations: 0 / 1.421 GB, free: 7.062 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5313, allocations: 0 / 1.421 GB, free: 7.062 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.0009861/0.5323, allocations: 465.3 kB / 1.421 GB, free: 6.578 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5324, allocations: 8.031 kB / 1.421 GB, free: 6.57 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5335, allocations: 119.7 kB / 1.421 GB, free: 6.453 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.5338, allocations: 168.8 kB / 1.421 GB, free: 6.262 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.5339, allocations: 71.67 kB / 1.421 GB, free: 6.18 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.534, allocations: 16 kB / 1.422 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.5345, allocations: 314 kB / 1.422 GB, free: 5.816 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.5346, allocations: 15.86 kB / 1.422 GB, free: 5.801 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.5346, allocations: 4 kB / 1.422 GB, free: 5.797 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5346, allocations: 8 kB / 1.422 GB, free: 5.789 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.5352, allocations: 163.8 kB / 1.422 GB, free: 5.629 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.537, allocations: 1.071 MB / 1.423 GB, free: 4.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.5378, allocations: 198.6 kB / 1.423 GB, free: 4.297 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.5379, allocations: 68.81 kB / 1.423 GB, free: 4.227 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.538, allocations: 0 / 1.423 GB, free: 4.227 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.538, allocations: 34.56 kB / 1.423 GB, free: 4.184 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.538, allocations: 0 / 1.423 GB, free: 4.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002617/0.5406, allocations: 486.6 kB / 1.424 GB, free: 3.695 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5407, allocations: 55.41 kB / 1.424 GB, free: 3.629 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.5409, allocations: 188 kB / 1.424 GB, free: 3.438 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.5409, allocations: 29.7 kB / 1.424 GB, free: 3.402 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.541, allocations: 148.1 kB / 1.424 GB, free: 3.254 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.5411, allocations: 43.69 kB / 1.424 GB, free: 3.211 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.5412, allocations: 49.64 kB / 1.424 GB, free: 3.156 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5413, allocations: 326.7 kB / 1.425 GB, free: 2.828 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5415, allocations: 67.95 kB / 1.425 GB, free: 2.762 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.5418, allocations: 164.4 kB / 1.425 GB, free: 2.57 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.5423, allocations: 197.9 kB / 1.425 GB, free: 2.355 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5423, allocations: 0 / 1.425 GB, free: 2.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001467/0.5437, allocations: 378.8 kB / 1.425 GB, free: 1.973 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5438, allocations: 4 kB / 1.425 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5438, allocations: 4.219 kB / 1.425 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.5449, allocations: 165.5 kB / 1.426 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.5451, allocations: 39.89 kB / 1.426 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/0.5492, allocations: 2.997 MB / 1.428 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.5496, allocations: 27.81 kB / 1.429 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.5496, allocations: 15.98 kB / 1.429 GB, free: 14.51 MB / 1.139 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.0001636/0.5498, allocations: 122.9 kB / 1.429 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.5498, allocations: 23.91 kB / 1.429 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.5511, allocations: 368.2 kB / 1.429 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-06/0.5511, allocations: 11.98 kB / 1.429 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.5511, allocations: 0 / 1.429 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.5511, allocations: 0 / 1.429 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.5514, allocations: 185.2 kB / 1.429 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5514, allocations: 0 / 1.429 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.5515, allocations: 19.98 kB / 1.429 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008057/0.5524, allocations: 141.6 kB / 1.429 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.5524, allocations: 0 / 1.429 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.5561, allocations: 3.04 MB / 1.432 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5561, allocations: 12.03 kB / 1.432 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.5574, allocations: 426.4 kB / 1.433 GB, free: 9.887 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.5575, allocations: 32 kB / 1.433 GB, free: 9.855 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.5575, allocations: 8 kB / 1.433 GB, free: 9.848 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.5578, allocations: 11.98 kB / 1.433 GB, free: 9.836 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.5579, allocations: 23.89 kB / 1.433 GB, free: 9.812 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5579, allocations: 4 kB / 1.433 GB, free: 9.809 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001672/0.5581, allocations: 143.2 kB / 1.433 GB, free: 9.668 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5581, allocations: 0 / 1.433 GB, free: 9.668 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004498/0.5585, allocations: 75.89 kB / 1.433 GB, free: 9.594 MB / 1.139 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.0001877/0.5587, allocations: 119.1 kB / 1.433 GB, free: 9.465 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.5598, allocations: 440.7 kB / 1.434 GB, free: 9.012 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5598, allocations: 7.938 kB / 1.434 GB, free: 9.004 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.5605, allocations: 353.4 kB / 1.434 GB, free: 8.633 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.5609, allocations: 53.97 kB / 1.434 GB, free: 8.582 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5619, allocations: 445.9 kB / 1.434 GB, free: 8.117 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.562, allocations: 124.4 kB / 1.435 GB, free: 7.973 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.5621, allocations: 23.42 kB / 1.435 GB, free: 7.949 MB / 1.139 GB Notification: Performance of SimCode: time 5.31e-07/0.5621, allocations: 0 / 1.435 GB, free: 7.949 MB / 1.139 GB Notification: Performance of Templates: time 0.007251/0.5693, allocations: 4.233 MB / 1.439 GB, free: 3.715 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/jenkins1/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: 11.905777222011238]