Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.001412/0.001412, 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.001652/0.001652, allocations: 212.4 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.785 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.57/3.57, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.002138/0.002138, allocations: 62.81 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4367, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002256/0.439, allocations: 0.7466 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.4404, allocations: 0.9094 MB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.4404, allocations: 3.938 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.4405, allocations: 7.875 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.4406, allocations: 19.84 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.4409, allocations: 39.89 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.441, allocations: 91.75 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4412, allocations: 19.98 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4413, allocations: 39.84 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.4414, allocations: 47.81 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.4414, allocations: 15.94 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.4415, allocations: 8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.4415, allocations: 19.92 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.522e-05/0.4416, allocations: 27.86 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.4418, allocations: 107.5 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4418, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4418, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4418, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007598/0.4426, allocations: 338 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4426, allocations: 12.03 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.443, allocations: 32.86 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.4432, allocations: 118.4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4432, allocations: 4.375 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.4432, allocations: 12.31 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.4435, allocations: 119.9 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4436, allocations: 4.172 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4436, allocations: 7.938 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4436, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.4439, allocations: 99.91 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.4445, allocations: 360.5 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.445, allocations: 117.1 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.4452, allocations: 61.73 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.4452, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4452, allocations: 30.56 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4452, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000673/0.4459, allocations: 173.4 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4459, allocations: 81.05 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.4461, allocations: 127.8 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4461, allocations: 37.64 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.4462, allocations: 104 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4462, allocations: 19.8 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.4463, allocations: 25.7 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4464, allocations: 326.7 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4466, allocations: 43.95 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4468, allocations: 57.67 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4471, allocations: 109.6 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4471, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004243/0.4475, allocations: 145.5 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4476, allocations: 4 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4476, allocations: 4 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4476, allocations: 4 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4478, allocations: 23.97 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4478, allocations: 0 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.4479, allocations: 11.98 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4479, allocations: 7.984 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.448, allocations: 121.7 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.448, allocations: 7.953 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.4486, allocations: 189.9 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4486, allocations: 8 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4486, allocations: 0 / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.4486, allocations: 3.984 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.4488, allocations: 141.2 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4488, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.449, allocations: 32.03 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.449, allocations: 3.984 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.449, allocations: 3.984 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.449, allocations: 0 / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.449, allocations: 4 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.4496, allocations: 338.5 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.4496, allocations: 23.83 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4497, allocations: 4 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.4498, allocations: 11.98 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.4499, allocations: 15.97 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4499, allocations: 0 / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.45, allocations: 103.3 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.45, allocations: 0 / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002876/0.4503, allocations: 16 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.4504, allocations: 107.2 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.4509, allocations: 115.8 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.4509, allocations: 4 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.4511, allocations: 59.89 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.4516, allocations: 30.34 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.4521, allocations: 219.5 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.826e-05/0.4522, allocations: 89.12 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.539e-05/0.4523, allocations: 12.66 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.4524, allocations: 23.44 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4524, allocations: 0 / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of Templates: time 0.005561/0.4579, allocations: 1.867 MB / 1.372 GB, free: 5.145 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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: 10.033935559913516]