Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001274/0.001274, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.28 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3332, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002511/0.3358, allocations: 1.282 MB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.337, allocations: 0.777 MB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.337, allocations: 0 / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.3371, allocations: 0 / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.3372, allocations: 7.922 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.3377, allocations: 171.4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.329e-05/0.3378, allocations: 23.86 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.3378, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.3379, allocations: 7.828 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.338, allocations: 11.98 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.338, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.3385, allocations: 283.5 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3385, allocations: 15.91 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.3385, allocations: 8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.3388, allocations: 167.7 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3388, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3388, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3388, allocations: 0 / 1.029 GB, free: 15.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005141/0.3394, allocations: 367.4 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3394, allocations: 12.03 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.3397, allocations: 16.91 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3398, allocations: 168.3 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3398, allocations: 8.375 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3398, allocations: 4.312 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.34, allocations: 50.23 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.34, allocations: 192 / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.34, allocations: 7.938 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.34, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.3401, allocations: 23.92 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.3403, allocations: 169.6 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3404, allocations: 66.55 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.3405, allocations: 24.86 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3405, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3405, allocations: 34.56 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.3405, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002071/0.3407, allocations: 81.61 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3408, allocations: 59.34 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.3408, allocations: 97.86 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3409, allocations: 25.7 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.3409, allocations: 80.14 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.3409, allocations: 23.72 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.341, allocations: 21.62 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3411, allocations: 314.8 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.3411, allocations: 20.11 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.3412, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.3412, allocations: 32.86 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3412, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.795e-05/0.3413, allocations: 69.62 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3414, allocations: 4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3414, allocations: 7.922 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3414, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3415, allocations: 12 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3415, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.3416, allocations: 12 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3416, allocations: 3.984 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.498e-05/0.3417, allocations: 109.8 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.3417, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.3419, allocations: 89.52 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3419, allocations: 7.938 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3419, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3419, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.342, allocations: 169.5 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3421, allocations: 448 / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.3421, allocations: 16 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3422, allocations: 0 / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3422, allocations: 7.938 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3422, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3422, allocations: 3.984 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.3423, allocations: 101 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3424, allocations: 81.11 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3424, allocations: 15.86 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.3425, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.3425, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.3425, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.3425, allocations: 75.28 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3426, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001857/0.3427, allocations: 20.09 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001135/0.3429, allocations: 99.23 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.343, allocations: 36.14 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.343, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.343, allocations: 27.92 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.3432, allocations: 7.984 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.3436, allocations: 130.6 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3438, allocations: 0.6768 MB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.3438, allocations: 7.984 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.3439, allocations: 15.42 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3439, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of Templates: time 0.002477/0.3464, allocations: 0.5608 MB / 1.033 GB, free: 10.92 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches