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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.103/3.103, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.17 kB / 0.9233 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.386, allocations: 162.2 MB / 1.082 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002158/0.3882, allocations: 0.8468 MB / 1.083 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3901, allocations: 1.435 MB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.3902, allocations: 0 / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.3902, allocations: 3.938 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.3903, allocations: 27.78 kB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.3908, allocations: 99.62 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3909, allocations: 103.7 kB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.391, allocations: 25.36 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.3911, allocations: 51.8 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.3912, allocations: 43.83 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3913, allocations: 7.938 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.3915, allocations: 159.7 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.3916, allocations: 19.92 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.3916, allocations: 39.78 kB / 1.085 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3919, allocations: 175.7 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.392, allocations: 0 / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.392, allocations: 0 / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.392, allocations: 0 / 1.085 GB, free: 10.54 MB / 0.8419 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.0008971/0.3929, allocations: 454.9 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3929, allocations: 8.031 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/0.3937, allocations: 64.77 kB / 1.085 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3939, allocations: 185.8 kB / 1.085 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3939, allocations: 4.375 kB / 1.085 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.394, allocations: 4.375 kB / 1.085 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.3944, allocations: 158.8 kB / 1.086 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3945, allocations: 192 / 1.086 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3945, allocations: 3.938 kB / 1.086 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3945, allocations: 4 kB / 1.086 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.3951, allocations: 139.8 kB / 1.086 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.396, allocations: 468.6 kB / 1.086 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3977, allocations: 249 kB / 1.086 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.398, allocations: 69.66 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.3981, allocations: 16.14 kB / 1.086 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3981, allocations: 34.55 kB / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3981, allocations: 0 / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.001104/0.3993, allocations: 237.6 kB / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3993, allocations: 81.11 kB / 1.087 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3995, allocations: 146.2 kB / 1.087 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3995, allocations: 29.7 kB / 1.087 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.3996, allocations: 96.36 kB / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.3997, allocations: 23.66 kB / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.3997, allocations: 33.59 kB / 1.087 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3999, allocations: 318.8 kB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.4002, allocations: 63.88 kB / 1.087 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.4004, allocations: 85.58 kB / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.401, allocations: 137.6 kB / 1.088 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.401, allocations: 3.938 kB / 1.088 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005926/0.4016, allocations: 177.4 kB / 1.088 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4016, allocations: 5.875 kB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4016, allocations: 4 kB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4016, allocations: 0 / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4019, allocations: 35.95 kB / 1.088 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4019, allocations: 0 / 1.088 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.4021, allocations: 23.92 kB / 1.088 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.4022, allocations: 11.98 kB / 1.088 GB, free: 6.969 MB / 0.8419 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.0001151/0.4023, allocations: 117.8 kB / 1.088 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.4023, allocations: 7.906 kB / 1.088 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.4031, allocations: 209.7 kB / 1.088 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4031, allocations: 0 / 1.088 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4031, allocations: 0 / 1.088 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4031, allocations: 3.984 kB / 1.088 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.4034, allocations: 225.4 kB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4034, allocations: 0 / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4037, allocations: 35.95 kB / 1.088 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4037, allocations: 0 / 1.088 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4038, allocations: 4 kB / 1.088 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.4038, allocations: 4 kB / 1.089 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4038, allocations: 0 / 1.089 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.4045, allocations: 358.5 kB / 1.089 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4046, allocations: 96.98 kB / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.4046, allocations: 3.938 kB / 1.089 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.4049, allocations: 23.97 kB / 1.089 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.405, allocations: 4 kB / 1.089 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.405, allocations: 12.17 kB / 1.089 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.593e-05/0.4051, allocations: 117.9 kB / 1.089 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.404e-06/0.4051, allocations: 0 / 1.089 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003276/0.4055, allocations: 35.81 kB / 1.089 GB, free: 5.629 MB / 0.8419 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.0002185/0.4057, allocations: 115.2 kB / 1.089 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006225/0.4063, allocations: 151.8 kB / 1.089 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4063, allocations: 0 / 1.089 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.4066, allocations: 79.86 kB / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.4071, allocations: 28.2 kB / 1.089 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.4079, allocations: 271.9 kB / 1.09 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.4083, allocations: 0.7002 MB / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00025/0.4085, allocations: 27.92 kB / 1.09 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.4086, allocations: 15.42 kB / 1.09 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.4086, allocations: 4 kB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of Templates: time 0.005401/0.414, allocations: 1.768 MB / 1.092 GB, free: 2.445 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches