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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001062/0.001062, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009507/0.009507, allocations: 172.3 kB / 16.27 MB, free: 6.66 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.915/2.915, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004181, allocations: 8.5 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3936, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.001074/0.3947, allocations: 0.5065 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.3967, allocations: 1.439 MB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.3968, allocations: 0 / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.3968, allocations: 3.938 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.632e-05/0.3969, allocations: 23.8 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.3973, allocations: 103.7 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3974, allocations: 95.64 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3975, allocations: 17.39 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.3976, allocations: 43.8 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.3977, allocations: 43.81 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3977, allocations: 4 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.398, allocations: 143.7 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3981, allocations: 15.92 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.3981, allocations: 65.42 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3984, allocations: 175.7 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3984, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3984, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3984, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 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.0007423/0.3992, allocations: 443 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3992, allocations: 12.03 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.3999, allocations: 64.67 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4001, allocations: 181.9 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4001, allocations: 384 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4001, allocations: 12.38 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4006, allocations: 167 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.4006, allocations: 4.188 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.4006, allocations: 7.938 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4007, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.4013, allocations: 155.9 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.4021, allocations: 484.3 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.4037, allocations: 257 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.4041, allocations: 85.66 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.4041, allocations: 3.984 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4041, allocations: 42.56 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.4042, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.001105/0.4053, allocations: 269.7 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4053, allocations: 85.09 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4055, allocations: 145.1 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4055, allocations: 25.7 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.4056, allocations: 96.36 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.4056, allocations: 27.56 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.4057, allocations: 17.64 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4058, allocations: 326.8 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.4061, allocations: 67.94 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.4064, allocations: 89.8 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.407, allocations: 165.6 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.407, allocations: 3.938 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007195/0.4077, allocations: 197.4 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4078, allocations: 5.094 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4078, allocations: 4 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4078, allocations: 4 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.4081, allocations: 39.95 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4081, allocations: 4 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.4083, allocations: 27.92 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4083, allocations: 3.984 kB / 1.065 GB, free: 15.11 MB / 0.8262 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.4084, allocations: 121.8 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4085, allocations: 15.81 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000785/0.4093, allocations: 225.7 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4093, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4094, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4094, allocations: 7.984 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.4097, allocations: 217.5 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4097, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.4099, allocations: 43.89 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.41, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.41, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.41, allocations: 160 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.41, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.4107, allocations: 378.5 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.4108, allocations: 104.9 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4109, allocations: 4 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4111, allocations: 31.91 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.4112, allocations: 11.92 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.4112, allocations: 4 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.92e-05/0.4113, allocations: 117.9 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4113, allocations: 0 / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003205/0.4116, allocations: 27.94 kB / 1.066 GB, free: 13.72 MB / 0.8262 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.0002006/0.4118, allocations: 123.3 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.4125, allocations: 171.7 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4125, allocations: 0 / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.4129, allocations: 87.92 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4133, allocations: 19.98 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.4141, allocations: 281.9 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4145, allocations: 0.7004 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.4147, allocations: 27.94 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.4148, allocations: 15.42 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4148, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.004761/0.4196, allocations: 1.7 MB / 1.069 GB, free: 10.57 MB / 0.8262 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=480 -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