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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001065/0.001065, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 64.16 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3336, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002084/0.3357, allocations: 0.8415 MB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3376, allocations: 1.443 MB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.3377, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.3377, allocations: 7.922 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.3378, allocations: 19.86 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.3382, allocations: 107.6 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3383, allocations: 95.64 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3385, allocations: 17.39 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.3386, allocations: 47.78 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.3387, allocations: 47.77 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3387, allocations: 4 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.339, allocations: 151.7 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.339, allocations: 15.92 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.3391, allocations: 35.73 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3393, allocations: 179.8 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3394, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3394, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3394, allocations: 0 / 1.055 GB, free: 5.82 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.0007667/0.3401, allocations: 447 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3402, allocations: 8.031 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007664/0.341, allocations: 72.66 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3411, allocations: 177 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3411, allocations: 8.375 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3412, allocations: 4.375 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.3416, allocations: 159.5 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3416, allocations: 192 / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3417, allocations: 3.938 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3417, allocations: 0 / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.3422, allocations: 151.8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/0.3431, allocations: 476.3 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.3447, allocations: 245 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.345, allocations: 77.66 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.345, allocations: 160 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3451, allocations: 42.5 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3451, allocations: 0 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.00097/0.3461, allocations: 237.3 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3461, allocations: 81.11 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3463, allocations: 149.3 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3463, allocations: 37.64 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.3464, allocations: 92.36 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3464, allocations: 31.55 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.3465, allocations: 29.7 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3466, allocations: 322.8 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3469, allocations: 63.94 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3471, allocations: 69.66 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.3477, allocations: 145.9 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3477, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005997/0.3483, allocations: 173.5 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3483, allocations: 4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3483, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3483, allocations: 4 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.3486, allocations: 39.89 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3486, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3488, allocations: 31.81 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3489, allocations: 4 kB / 1.058 GB, free: 2.242 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.0001051/0.349, allocations: 123.3 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.349, allocations: 7.906 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.3498, allocations: 205.7 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.3498, allocations: 4 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3498, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3498, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3501, allocations: 217.5 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3501, allocations: 3.938 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.3504, allocations: 31.95 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3504, allocations: 8 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3504, allocations: 3.984 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3504, allocations: 4 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3505, allocations: 4 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.3511, allocations: 358.3 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.3513, allocations: 105 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.3513, allocations: 3.984 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3516, allocations: 19.98 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3516, allocations: 11.98 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3517, allocations: 7.984 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.437e-05/0.3517, allocations: 107.3 kB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3518, allocations: 4 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003194/0.3521, allocations: 23.94 kB / 1.059 GB, free: 0.9102 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.0002256/0.3523, allocations: 119.1 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005998/0.3529, allocations: 143.9 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3529, allocations: 0 / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.3532, allocations: 79.86 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.3537, allocations: 22.8 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.3545, allocations: 270.3 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3548, allocations: 0.7004 MB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.3551, allocations: 23.94 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3551, allocations: 23.42 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3551, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.004516/0.3597, allocations: 1.722 MB / 1.062 GB, free: 13.79 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