Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001581/0.001581, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001572/0.001572, allocations: 193.5 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.64 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3392, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.00261/0.3419, allocations: 1.344 MB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3431, allocations: 0.767 MB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.3431, allocations: 3.938 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.3432, allocations: 3.938 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.3433, allocations: 7.984 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3438, allocations: 151.4 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.3439, allocations: 23.92 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.3439, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.344, allocations: 11.98 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.344, allocations: 11.94 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.344, allocations: 0 / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3445, allocations: 287.5 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.3445, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.3445, allocations: 23.92 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3447, allocations: 104.1 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3448, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3448, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.3448, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8419 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.0004787/0.3453, allocations: 369.7 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3453, allocations: 8.625 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/0.3455, allocations: 20.91 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3457, allocations: 176.2 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.3457, allocations: 4.375 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3457, allocations: 8.375 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.3459, allocations: 46.23 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3459, allocations: 192 / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3459, allocations: 7.938 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3459, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.281e-05/0.346, allocations: 23.98 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.3462, allocations: 169.6 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.3463, allocations: 58.53 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.3464, allocations: 24.89 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3464, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3464, allocations: 34.5 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3464, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002106/0.3466, allocations: 85.59 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3467, allocations: 55.41 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.3468, allocations: 93.86 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3468, allocations: 33.64 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.3468, allocations: 80.14 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3469, allocations: 19.66 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3469, allocations: 21.7 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3471, allocations: 314.8 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/0.3471, allocations: 12.11 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.3471, allocations: 12 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.3472, allocations: 32.86 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3472, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001185/0.3473, allocations: 61.69 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3474, allocations: 8 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3474, allocations: 4.375 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3474, allocations: 3.984 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3475, allocations: 15.94 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3475, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.3476, allocations: 8 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3476, allocations: 8 kB / 1.069 GB, free: 10.36 MB / 0.8419 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 9.147e-05/0.3477, allocations: 109.8 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.3477, allocations: 7.938 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.3479, allocations: 89.48 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.348, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.348, allocations: 3.938 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.348, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3481, allocations: 165.6 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3481, allocations: 3.984 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.3482, allocations: 16 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3483, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3483, allocations: 7.938 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3483, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3483, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3484, allocations: 97.11 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.3485, allocations: 77.11 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3485, allocations: 11.92 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.3486, allocations: 4 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.3486, allocations: 3.938 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3486, allocations: 4 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.3487, allocations: 75.28 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3487, allocations: 8.031 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000189/0.3489, allocations: 12 kB / 1.069 GB, free: 9.57 MB / 0.8419 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.0001225/0.349, allocations: 103.2 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3492, allocations: 35.98 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3492, allocations: 0 / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.3492, allocations: 28.08 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.3494, allocations: 8.141 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.3498, allocations: 174.6 kB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3501, allocations: 0.6807 MB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.3502, allocations: 11.44 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3502, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.002061/0.3522, allocations: 0.5928 MB / 1.071 GB, free: 7.883 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches