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.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.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.008316/0.008316, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001417/0.001417, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 461.8 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 71.88 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3774, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002763/0.3802, allocations: 1.282 MB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3818, allocations: 0.7596 MB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.3819, allocations: 4 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.3819, allocations: 7.938 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.382, allocations: 3.984 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.3828, allocations: 163.2 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.383, allocations: 27.86 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.329e-05/0.383, allocations: 4 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.3831, allocations: 7.984 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.3832, allocations: 15.92 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3832, allocations: 4 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006165/0.3838, allocations: 291.5 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.3839, allocations: 0 / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.3839, allocations: 15.94 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.3843, allocations: 171.6 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3843, allocations: 0 / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3843, allocations: 0 / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3844, allocations: 0 / 1.21 GB, free: 6.887 MB / 0.9669 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.0006276/0.385, allocations: 359.5 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.3851, allocations: 8.031 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.3854, allocations: 32.81 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3855, allocations: 168.3 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3855, allocations: 384 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3855, allocations: 8.375 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3857, allocations: 46.25 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3857, allocations: 192 / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3857, allocations: 3.938 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3857, allocations: 7.984 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.3858, allocations: 27.97 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.386, allocations: 165.7 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3861, allocations: 62.59 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.3862, allocations: 16.86 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3862, allocations: 8.031 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3863, allocations: 38.56 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3863, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002112/0.3865, allocations: 81.56 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3865, allocations: 51.41 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.3866, allocations: 93.86 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3866, allocations: 25.7 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.3867, allocations: 80.14 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3867, allocations: 27.58 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3868, allocations: 25.84 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.3869, allocations: 314.8 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.3869, allocations: 8 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.3869, allocations: 12 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.387, allocations: 36.84 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.387, allocations: 0 / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000105/0.3871, allocations: 65.62 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3871, allocations: 8 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3871, allocations: 3.938 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3872, allocations: 4.438 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3873, allocations: 15.98 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3873, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.3874, allocations: 4 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3874, allocations: 4 kB / 1.212 GB, free: 4.883 MB / 0.9669 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.575e-05/0.3875, allocations: 113.8 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.3875, allocations: 7.906 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.3877, allocations: 93.5 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3877, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3877, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3877, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.3879, allocations: 169.6 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3879, allocations: 0 / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.388, allocations: 19.98 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.388, allocations: 0 / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.388, allocations: 3.938 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.388, allocations: 4 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.388, allocations: 0 / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3881, allocations: 97.06 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.3882, allocations: 85 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3882, allocations: 7.938 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.3883, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.3883, allocations: 7.969 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3883, allocations: 4 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.3884, allocations: 83.28 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3884, allocations: 3.938 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002036/0.3886, allocations: 8 kB / 1.213 GB, free: 4.082 MB / 0.9669 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.0001202/0.3887, allocations: 99.25 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3889, allocations: 39.92 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3889, allocations: 4 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.3889, allocations: 19.98 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3891, allocations: 8.094 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.3895, allocations: 142.9 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3897, allocations: 0.6768 MB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.3898, allocations: 7.984 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.3898, allocations: 15.38 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3898, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.002829/0.3927, allocations: 0.5697 MB / 1.214 GB, free: 2.457 MB / 0.9669 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 -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/jenkins/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