Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001751/0.001751, allocations: 110.3 kB / 15.99 MB, free: 6.359 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.001936/0.001936, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.1 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 72.55 kB / 0.8694 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2989, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002679/0.3016, allocations: 1.348 MB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3028, allocations: 0.7646 MB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.3028, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.3029, allocations: 3.984 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.3029, allocations: 11.88 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.3035, allocations: 151.5 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.3035, allocations: 27.86 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.3036, allocations: 3.984 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.3036, allocations: 8 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.3037, allocations: 15.92 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.3037, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.3042, allocations: 283.5 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.3042, allocations: 0 / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.3042, allocations: 7.938 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.3044, allocations: 116.1 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3044, allocations: 3.938 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3044, allocations: 4 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3044, allocations: 0 / 1.02 GB, free: 8.223 MB / 0.795 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.000451/0.3049, allocations: 371.3 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3049, allocations: 12.03 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.3052, allocations: 16.91 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3053, allocations: 160.4 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3053, allocations: 4.375 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3054, allocations: 8.312 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3055, allocations: 54.23 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3055, allocations: 192 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3055, allocations: 7.875 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3056, allocations: 0 / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3056, allocations: 27.92 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3058, allocations: 157.7 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.306, allocations: 66.64 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.306, allocations: 28.89 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.3061, allocations: 3.984 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3061, allocations: 30.56 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.3061, allocations: 0 / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0002045/0.3063, allocations: 85.47 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3064, allocations: 59.39 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.3064, allocations: 93.86 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3065, allocations: 29.7 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.3065, allocations: 80.14 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3065, allocations: 15.75 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.3066, allocations: 21.7 kB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3067, allocations: 310.8 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.3068, allocations: 12 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.3068, allocations: 12.36 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.3069, allocations: 40.98 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3069, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00011/0.307, allocations: 73.53 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.307, allocations: 4 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.307, allocations: 7.922 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3071, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3072, allocations: 15.98 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3072, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3073, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3073, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 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.894e-05/0.3074, allocations: 114.5 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.3074, allocations: 4 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3076, allocations: 93.5 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3076, allocations: 3.938 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3076, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3077, allocations: 4 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3078, allocations: 173.5 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3078, allocations: 0 / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.3079, allocations: 15.98 kB / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3079, allocations: 0 / 1.022 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3079, allocations: 3.938 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.308, allocations: 0 / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.308, allocations: 0 / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3081, allocations: 105 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.3082, allocations: 85.11 kB / 1.022 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3082, allocations: 3.938 kB / 1.022 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.3083, allocations: 4 kB / 1.022 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.3083, allocations: 7.984 kB / 1.022 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.3083, allocations: 4.062 kB / 1.022 GB, free: 5.508 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.3084, allocations: 75.28 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3084, allocations: 4 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001898/0.3086, allocations: 8 kB / 1.023 GB, free: 5.422 MB / 0.795 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.0001387/0.3087, allocations: 103.9 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.3089, allocations: 43.91 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3089, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.3089, allocations: 20 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.3091, allocations: 6.062 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.3095, allocations: 180.2 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3098, allocations: 0.6806 MB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.3099, allocations: 11.44 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.3099, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of Templates: time 0.002068/0.312, allocations: 0.5902 MB / 1.024 GB, free: 3.73 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches