Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_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.0016/0.0016, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001932/0.001932, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 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.357/3.357, allocations: 0.5107 GB / 0.8166 GB, free: 17.94 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.DewPoint_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dewBulPhi.TDryBul|dewBulPhi.phi|dewBulPhi.TDewPoi|dewBulPhi1.TDryBul|dewBulPhi1.phi|dewBulPhi1.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dewBulPhi.TDryBul|dewBulPhi.phi|dewBulPhi.TDewPoi|dewBulPhi1.TDryBul|dewBulPhi1.phi|dewBulPhi1.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_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.002128/0.002128, allocations: 72.08 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3509, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002023/0.3529, allocations: 0.7741 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.355, allocations: 1.421 MB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.3551, allocations: 0 / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.3551, allocations: 11.86 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3553, allocations: 27.73 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.3558, allocations: 119.5 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3559, allocations: 103.6 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3561, allocations: 21.56 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3562, allocations: 47.78 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.3563, allocations: 39.83 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3563, allocations: 11.94 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.3566, allocations: 151.8 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.3566, allocations: 19.92 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.3567, allocations: 27.86 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.357, allocations: 191.2 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.357, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.357, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.357, allocations: 0 / 1.367 GB, free: 10.66 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.0007697/0.3578, allocations: 379 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3578, allocations: 12.03 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.3586, allocations: 72.8 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3588, allocations: 126.4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3588, allocations: 8.375 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.3588, allocations: 4.375 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.3593, allocations: 159.8 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3593, allocations: 192 / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.3593, allocations: 3.938 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3593, allocations: 0 / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.3599, allocations: 139.9 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.3607, allocations: 396.4 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3622, allocations: 241 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.3625, allocations: 69.66 kB / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.3625, allocations: 11.92 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3626, allocations: 38.56 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3626, allocations: 4 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0009862/0.3636, allocations: 237.3 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.3636, allocations: 85.09 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3638, allocations: 135.7 kB / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3638, allocations: 29.7 kB / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3639, allocations: 92.09 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3639, allocations: 23.78 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.364, allocations: 29.66 kB / 1.37 GB, free: 8.223 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3641, allocations: 326.8 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3644, allocations: 63.94 kB / 1.37 GB, free: 7.832 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3647, allocations: 73.59 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.3652, allocations: 142 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3652, allocations: 0 / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006214/0.3658, allocations: 177.5 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3658, allocations: 4 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3658, allocations: 0 / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3659, allocations: 4 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3661, allocations: 31.95 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3661, allocations: 0 / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3663, allocations: 27.97 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3663, allocations: 7.984 kB / 1.37 GB, free: 7.355 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.0001081/0.3665, allocations: 118.9 kB / 1.371 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3665, allocations: 7.953 kB / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.3673, allocations: 209.8 kB / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3673, allocations: 4 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3673, allocations: 0 / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3673, allocations: 0 / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3675, allocations: 161.1 kB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3676, allocations: 11.88 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3678, allocations: 31.95 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3678, allocations: 0 / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3678, allocations: 4 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3678, allocations: 7.984 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3678, allocations: 0 / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/0.3685, allocations: 346.8 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.3686, allocations: 23.92 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3687, allocations: 4 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.3689, allocations: 27.91 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.369, allocations: 3.984 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.369, allocations: 4 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.693e-05/0.3691, allocations: 109.3 kB / 1.372 GB, free: 6.234 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 1.372 GB, free: 6.234 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003572/0.3695, allocations: 31.94 kB / 1.372 GB, free: 6.203 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 (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 Backend phase and start with SimCode phase: time 0.0002368/0.3697, allocations: 111.2 kB / 1.372 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.3704, allocations: 144.1 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3704, allocations: 4 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.3707, allocations: 72.11 kB / 1.372 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.3711, allocations: 23.92 kB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.372, allocations: 273.6 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.3721, allocations: 81.31 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.3722, allocations: 23.42 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3722, allocations: 0 / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of Templates: time 0.003865/0.376, allocations: 1.743 MB / 1.374 GB, free: 3.688 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_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.44516826607287]