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.008765/0.008765, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001893/0.001893, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.668/2.668, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002166/0.3448, allocations: 1.293 MB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3459, allocations: 0.7673 MB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.346, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.346, allocations: 3.938 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/0.3461, allocations: 3.984 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.3465, allocations: 167.2 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.3466, allocations: 23.88 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.3467, allocations: 0 / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.3467, allocations: 19.91 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.3468, allocations: 12 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.3468, allocations: 0 / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.3472, allocations: 291.5 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.3472, allocations: 3.938 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.3473, allocations: 8 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3476, allocations: 175.5 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3476, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.885e-06/0.3476, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3476, allocations: 7.938 kB / 1.169 GB, free: 4.047 MB / 0.92 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.0004361/0.3481, allocations: 363.1 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3481, allocations: 15.97 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.3483, allocations: 20.91 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3485, allocations: 168.3 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3485, allocations: 384 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3485, allocations: 384 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3486, allocations: 50.25 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3486, allocations: 8.156 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3487, allocations: 7.938 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3487, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.195e-05/0.3487, allocations: 27.92 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.3489, allocations: 161.6 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.349, allocations: 58.66 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.3491, allocations: 24.89 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3491, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3491, allocations: 42.56 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.3492, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002043/0.3494, allocations: 81.56 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3494, allocations: 51.41 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.3495, allocations: 93.84 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3495, allocations: 25.7 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.3495, allocations: 80.14 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3496, allocations: 19.98 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3496, allocations: 25.7 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3497, allocations: 310.8 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.3497, allocations: 12 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/0.3498, allocations: 15.98 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.3498, allocations: 37.23 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3499, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001006/0.35, allocations: 69.56 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.35, allocations: 4 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.35, allocations: 7.938 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.35, allocations: 4 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3501, allocations: 11.98 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3502, allocations: 4 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.3502, allocations: 7.938 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3502, allocations: 3.938 kB / 1.171 GB, free: 2.043 MB / 0.92 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 7.693e-05/0.3503, allocations: 113.8 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.3503, allocations: 3.953 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.3505, allocations: 97.48 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3505, allocations: 4 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3505, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3505, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3507, allocations: 161.7 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3507, allocations: 0 / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.3508, allocations: 15.98 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3508, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3508, allocations: 11.94 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3508, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3508, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.3509, allocations: 101 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.351, allocations: 85.06 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.351, allocations: 3.938 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.3511, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.3511, allocations: 7.984 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3511, allocations: 4.062 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.3512, allocations: 83.28 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3512, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001859/0.3514, allocations: 8 kB / 1.172 GB, free: 1.246 MB / 0.92 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.0001026/0.3515, allocations: 99.25 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3516, allocations: 47.91 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3516, allocations: 0 / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.3517, allocations: 28.08 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.3519, allocations: 4 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.3522, allocations: 138.4 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3524, allocations: 0.6768 MB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.3525, allocations: 8 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.3525, allocations: 11.44 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3525, allocations: 0 / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of Templates: time 0.002465/0.355, allocations: 0.5752 MB / 1.173 GB, free: 15.62 MB / 0.9356 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=480 -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/jenkins/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