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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001398/0.001398, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.002025/0.002025, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.513/1.513, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 64.84 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3991, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002455/0.4016, allocations: 0.809 MB / 1.028 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.4039, allocations: 1.416 MB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.4039, allocations: 4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.404, allocations: 7.875 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.4041, allocations: 23.78 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.4046, allocations: 119.5 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.4048, allocations: 99.64 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.405, allocations: 25.38 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4051, allocations: 51.78 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4052, allocations: 47.77 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.4052, allocations: 4 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.4056, allocations: 155.8 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.4056, allocations: 15.92 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.4057, allocations: 39.8 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.406, allocations: 179.4 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4061, allocations: 4 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4061, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.4061, allocations: 0 / 1.03 GB, free: 15.09 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.0008488/0.4069, allocations: 444.4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.407, allocations: 12.03 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.4078, allocations: 68.67 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.408, allocations: 176.2 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.408, allocations: 12.31 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.408, allocations: 4.375 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.4085, allocations: 147.8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4086, allocations: 192 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.4086, allocations: 7.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4086, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.4092, allocations: 143.9 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.41, allocations: 496.3 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.4116, allocations: 237 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.4119, allocations: 85.58 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.4119, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.412, allocations: 30.56 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.412, allocations: 4 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0009965/0.413, allocations: 237.3 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.4131, allocations: 81.11 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4132, allocations: 143.9 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.4133, allocations: 33.69 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.4134, allocations: 92.38 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.4134, allocations: 27.55 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.4135, allocations: 33.64 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.4137, allocations: 322.8 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.414, allocations: 59.94 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.4142, allocations: 73.66 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.4147, allocations: 133.6 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4148, allocations: 0 / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005809/0.4154, allocations: 185.4 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4154, allocations: 6.656 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4154, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4154, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.4157, allocations: 35.95 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4157, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.4159, allocations: 31.81 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4159, allocations: 4 kB / 1.033 GB, free: 11.52 MB / 0.8106 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.0001514/0.4161, allocations: 125.7 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.4162, allocations: 11.91 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.4169, allocations: 218.1 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.417, allocations: 4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.417, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.417, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.4174, allocations: 217.6 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4174, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.4176, allocations: 31.95 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4176, allocations: 3.938 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.4177, allocations: 7.984 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.4177, allocations: 4 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4177, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.4184, allocations: 358.4 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4185, allocations: 101 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4186, allocations: 0 / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.4188, allocations: 23.97 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.4189, allocations: 7.984 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.419, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001256/0.4191, allocations: 121.7 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4191, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003618/0.4195, allocations: 31.94 kB / 1.034 GB, free: 10.18 MB / 0.8106 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.0002787/0.4198, allocations: 115.2 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000622/0.4204, allocations: 143.8 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4204, allocations: 0 / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.4207, allocations: 75.86 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.4212, allocations: 27.98 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.422, allocations: 240.1 kB / 1.035 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.4224, allocations: 0.7001 MB / 1.035 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.4226, allocations: 27.94 kB / 1.035 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.4226, allocations: 19.42 kB / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/0.4227, allocations: 0 / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of Templates: time 0.00564/0.4283, allocations: 1.882 MB / 1.037 GB, free: 6.918 MB / 0.8106 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 -s cvode -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/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) Reference file matches