Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01111/0.01111, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.003182/0.003182, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.568/2.568, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.33 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002291/0.3449, allocations: 1.289 MB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3461, allocations: 0.7609 MB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.3462, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.3462, allocations: 7.922 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.3463, allocations: 7.922 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.3468, allocations: 159.3 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.823e-05/0.3468, allocations: 27.86 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.3469, allocations: 3.984 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.3469, allocations: 8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.7e-05/0.347, allocations: 11.94 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.347, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.3474, allocations: 291.5 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.3474, allocations: 3.984 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3475, allocations: 15.92 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3478, allocations: 167.6 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3478, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3478, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.3478, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 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.0004238/0.3482, allocations: 367.4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3483, allocations: 8.031 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.3485, allocations: 24.91 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3486, allocations: 164.4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3486, allocations: 384 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.3487, allocations: 4.312 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.3488, allocations: 58.17 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3488, allocations: 192 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3488, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3488, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.949e-05/0.3489, allocations: 27.98 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.3491, allocations: 161.6 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3492, allocations: 58.66 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.3492, allocations: 24.89 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3492, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3493, allocations: 42.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.3493, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0001856/0.3495, allocations: 77.62 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3495, allocations: 59.33 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.3496, allocations: 89.86 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3496, allocations: 25.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.3496, allocations: 80.14 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.3497, allocations: 23.66 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.3497, allocations: 21.83 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.3498, allocations: 314.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.3499, allocations: 12.25 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.3499, allocations: 23.92 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.867e-05/0.3499, allocations: 32.86 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.35, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.206e-05/0.35, allocations: 61.69 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3501, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3501, allocations: 3.938 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3501, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3502, allocations: 19.97 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3502, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.3503, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3503, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 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.745e-05/0.3504, allocations: 121.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.3504, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3506, allocations: 97.48 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3506, allocations: 4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3506, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3507, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3508, allocations: 165.6 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3508, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.3509, allocations: 19.92 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3509, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3509, allocations: 11.88 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3509, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3509, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3511, allocations: 101.2 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.3512, allocations: 81.3 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.3512, allocations: 7.938 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.3513, allocations: 3.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.3513, allocations: 7.984 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3513, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.3514, allocations: 83.28 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3514, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001872/0.3516, allocations: 8 kB / 1.093 GB, free: 11.92 MB / 0.8575 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.0001328/0.3517, allocations: 103.2 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.3518, allocations: 35.98 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3518, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.3519, allocations: 27.92 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3521, allocations: 9.984 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.3525, allocations: 134.6 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.3528, allocations: 0.6807 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.3528, allocations: 11.98 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.3529, allocations: 7.438 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3529, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.002625/0.3555, allocations: 0.5677 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches