Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 104.1 kB / 16.27 MB, free: 5.98 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.001333/0.001333, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.539/2.539, allocations: 437 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 64.28 kB / 0.8699 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2953, allocations: 151.6 MB / 1.018 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002466/0.2979, allocations: 1.268 MB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2993, allocations: 0.8784 MB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.2994, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.2994, allocations: 4 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.2995, allocations: 11.91 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.3002, allocations: 191.4 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.3003, allocations: 23.81 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3003, allocations: 8 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.3004, allocations: 7.984 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.3004, allocations: 4 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.3004, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.3008, allocations: 184.4 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.3008, allocations: 15.92 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.3009, allocations: 7.984 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.3012, allocations: 147.8 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3012, allocations: 0 / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3012, allocations: 3.938 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3012, allocations: 0 / 1.021 GB, free: 7.973 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004155/0.3016, allocations: 363.5 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3017, allocations: 8.922 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.3019, allocations: 8.922 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.302, allocations: 164.3 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.302, allocations: 4.375 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.302, allocations: 4.125 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3021, allocations: 49.67 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3022, allocations: 0 / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3022, allocations: 4 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3022, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.3023, allocations: 15.98 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.3024, allocations: 157.7 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.3034, allocations: 138.5 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.3035, allocations: 24.78 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3036, allocations: 85.11 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3036, allocations: 30.56 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.3036, allocations: 0 / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.3038, allocations: 65.58 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3039, allocations: 51.41 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.3039, allocations: 105.8 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.304, allocations: 25.7 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.304, allocations: 80.14 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.304, allocations: 7.891 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3041, allocations: 17.72 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.3042, allocations: 318.8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.3042, allocations: 8 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.3042, allocations: 4 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.3043, allocations: 32.97 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3043, allocations: 0 / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001012/0.3044, allocations: 61.53 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3044, allocations: 6.5 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3044, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3045, allocations: 3.938 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.3045, allocations: 8 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3045, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.3046, allocations: 3.938 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3046, allocations: 3.984 kB / 1.022 GB, free: 5.91 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 (4): * Single equations (assignments): 4 * 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 7.631e-05/0.3047, allocations: 117.8 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3047, allocations: 3.938 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.305, allocations: 81.11 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.305, allocations: 336 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.305, allocations: 8.062 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.305, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3051, allocations: 157.6 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3051, allocations: 11.92 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.3052, allocations: 7.938 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3052, allocations: 3.984 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3052, allocations: 4 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3052, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3052, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3053, allocations: 89.06 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.3054, allocations: 81.02 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3054, allocations: 8 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.3055, allocations: 3.984 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3055, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3055, allocations: 4 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.3055, allocations: 75.28 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.483e-06/0.3055, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000254/0.3058, allocations: 52.03 kB / 1.023 GB, free: 5.109 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 (5): * Single equations (assignments): 5 * 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.0003812/0.3062, allocations: 171 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.3063, allocations: 24 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3063, allocations: 4 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.3064, allocations: 19.92 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.3065, allocations: 11.94 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3069, allocations: 148.4 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3071, allocations: 0.6845 MB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3072, allocations: 11.44 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3072, allocations: 0 / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of Templates: time 0.002639/0.3098, allocations: 1.039 MB / 1.025 GB, free: 2.949 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches