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.001667/0.001667, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002048/0.002048, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.184/3.184, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002172/0.002172, allocations: 72.58 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002957/0.3443, allocations: 1.702 MB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1877/0.532, allocations: 153 MB / 1.505 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.5321, allocations: 0 / 1.505 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.5323, allocations: 31.8 kB / 1.505 GB, free: 12.59 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.5326, allocations: 59.56 kB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.5332, allocations: 183.3 kB / 1.505 GB, free: 12.35 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.5334, allocations: 163.5 kB / 1.506 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.5335, allocations: 25.3 kB / 1.506 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.5349, allocations: 208.4 kB / 1.506 GB, free: 11.98 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.535, allocations: 63.75 kB / 1.506 GB, free: 11.92 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.5351, allocations: 8 kB / 1.506 GB, free: 11.91 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.5355, allocations: 179.7 kB / 1.506 GB, free: 11.74 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.5355, allocations: 19.92 kB / 1.506 GB, free: 11.72 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.5356, allocations: 59.7 kB / 1.506 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.536, allocations: 211.3 kB / 1.506 GB, free: 11.45 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.536, allocations: 0 / 1.506 GB, free: 11.45 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.262e-06/0.536, allocations: 4 kB / 1.506 GB, free: 11.45 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.536, allocations: 0 / 1.506 GB, free: 11.45 MB / 1.201 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.0008962/0.5369, allocations: 397.5 kB / 1.507 GB, free: 11.03 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5369, allocations: 12.03 kB / 1.507 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/0.5378, allocations: 76.75 kB / 1.507 GB, free: 10.95 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.5381, allocations: 153 kB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5381, allocations: 4 kB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.5381, allocations: 8 kB / 1.507 GB, free: 10.76 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.5386, allocations: 183.8 kB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5386, allocations: 0 / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.5386, allocations: 7.984 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5386, allocations: 4 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.5392, allocations: 135.8 kB / 1.507 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.5404, allocations: 0.7963 MB / 1.508 GB, free: 9.547 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.5408, allocations: 134.5 kB / 1.508 GB, free: 9.406 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.5411, allocations: 80.73 kB / 1.508 GB, free: 9.324 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.5411, allocations: 0 / 1.508 GB, free: 9.324 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.5411, allocations: 38.56 kB / 1.508 GB, free: 9.277 MB / 1.201 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.5411, allocations: 0 / 1.508 GB, free: 9.277 MB / 1.201 GB Notification: Performance of matching and sorting (n=8): time 0.001951/0.5431, allocations: 378.1 kB / 1.509 GB, free: 8.898 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5431, allocations: 59.34 kB / 1.509 GB, free: 8.828 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.5433, allocations: 160.5 kB / 1.509 GB, free: 8.664 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5433, allocations: 25.7 kB / 1.509 GB, free: 8.633 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.5434, allocations: 112.2 kB / 1.509 GB, free: 8.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.5434, allocations: 35.88 kB / 1.509 GB, free: 8.484 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.5435, allocations: 25.7 kB / 1.509 GB, free: 8.453 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5436, allocations: 322.8 kB / 1.509 GB, free: 8.129 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.5439, allocations: 71.94 kB / 1.509 GB, free: 8.059 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.5442, allocations: 100.2 kB / 1.51 GB, free: 7.945 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.5447, allocations: 172.1 kB / 1.51 GB, free: 7.762 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5447, allocations: 8 kB / 1.51 GB, free: 7.754 MB / 1.201 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001092/0.5458, allocations: 278.1 kB / 1.51 GB, free: 7.473 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5458, allocations: 9.344 kB / 1.51 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5458, allocations: 0 / 1.51 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.5465, allocations: 92.88 kB / 1.51 GB, free: 7.371 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.5467, allocations: 31.91 kB / 1.51 GB, free: 7.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.549, allocations: 1.556 MB / 1.512 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.5493, allocations: 31.98 kB / 1.512 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.5493, allocations: 11.98 kB / 1.512 GB, free: 5.625 MB / 1.201 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.000132/0.5494, allocations: 130.3 kB / 1.512 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.5495, allocations: 7.953 kB / 1.512 GB, free: 5.48 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.5506, allocations: 310.9 kB / 1.512 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5506, allocations: 4 kB / 1.512 GB, free: 5.164 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5506, allocations: 7.922 kB / 1.512 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5506, allocations: 0 / 1.512 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.5509, allocations: 216.6 kB / 1.512 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5509, allocations: 0 / 1.512 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.5511, allocations: 27.97 kB / 1.512 GB, free: 4.875 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.5516, allocations: 80.77 kB / 1.512 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5516, allocations: 3.938 kB / 1.512 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.5537, allocations: 1.578 MB / 1.514 GB, free: 3.086 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5537, allocations: 0 / 1.514 GB, free: 3.086 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.5548, allocations: 382.6 kB / 1.514 GB, free: 2.695 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.5548, allocations: 27.88 kB / 1.514 GB, free: 2.668 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5549, allocations: 4 kB / 1.514 GB, free: 2.664 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.5551, allocations: 19.92 kB / 1.514 GB, free: 2.645 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.5552, allocations: 12.03 kB / 1.514 GB, free: 2.633 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.5552, allocations: 16.12 kB / 1.514 GB, free: 2.617 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.883e-05/0.5553, allocations: 112.8 kB / 1.515 GB, free: 2.508 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5553, allocations: 0 / 1.515 GB, free: 2.508 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003476/0.5556, allocations: 47.94 kB / 1.515 GB, free: 2.461 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.0001979/0.5558, allocations: 119.1 kB / 1.515 GB, free: 2.336 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009456/0.5568, allocations: 306.7 kB / 1.515 GB, free: 2.023 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5568, allocations: 0 / 1.515 GB, free: 2.023 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.5573, allocations: 222.6 kB / 1.515 GB, free: 1.793 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.5576, allocations: 31.86 kB / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.5585, allocations: 341.3 kB / 1.516 GB, free: 1.398 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.5589, allocations: 0.7124 MB / 1.516 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.559, allocations: 19.42 kB / 1.516 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.559, allocations: 0 / 1.516 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of Templates: time 0.005479/0.5645, allocations: 2.739 MB / 1.519 GB, free: 13.91 MB / 1.217 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/jenkins1/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: 11.868004893010948]