Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001484/0.001484, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001529/0.001529, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 59.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9693/0.9708, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.0027/0.9736, allocations: 1.301 MB / 1.21 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.9748, allocations: 0.7631 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.9749, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.9749, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.975, allocations: 7.922 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.9756, allocations: 163.3 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.954e-05/0.9757, allocations: 35.78 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.9758, allocations: 0 / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.9758, allocations: 12 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.9759, allocations: 11.92 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.9759, allocations: 0 / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.9764, allocations: 283.6 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.9764, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.9765, allocations: 19.91 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.9769, allocations: 171.3 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9769, allocations: 0 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9769, allocations: 0 / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.9769, allocations: 4 kB / 1.211 GB, free: 10.85 MB / 0.9356 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.0004993/0.9774, allocations: 365.5 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9774, allocations: 12.03 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.9777, allocations: 16.91 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.9779, allocations: 176.2 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9779, allocations: 384 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.9779, allocations: 384 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.9781, allocations: 62.11 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.9781, allocations: 192 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.9781, allocations: 3.938 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9781, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.9782, allocations: 23.98 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.9784, allocations: 161.7 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.9785, allocations: 62.66 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.9786, allocations: 28.89 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.9786, allocations: 0 / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.9786, allocations: 38.5 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.9786, allocations: 3.984 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.000216/0.9789, allocations: 81.61 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.9789, allocations: 55.41 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.979, allocations: 89.86 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.979, allocations: 25.7 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.9791, allocations: 80.14 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.9791, allocations: 23.66 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.9792, allocations: 21.7 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9793, allocations: 314.8 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.9793, allocations: 12.12 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.9793, allocations: 23.92 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.9794, allocations: 32.86 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9794, allocations: 0 / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001055/0.9795, allocations: 61.69 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9795, allocations: 4 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9795, allocations: 3.938 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.9796, allocations: 0 / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.9797, allocations: 15.98 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9797, allocations: 4 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.9798, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.9798, allocations: 4 kB / 1.213 GB, free: 8.852 MB / 0.9356 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.825e-05/0.9799, allocations: 121.8 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.9799, allocations: 3.906 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.9801, allocations: 85.56 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9801, allocations: 4.438 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.9801, allocations: 4 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9801, allocations: 0 / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.9803, allocations: 165.7 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9803, allocations: 0 / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.9804, allocations: 19.92 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9804, allocations: 0 / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.9804, allocations: 3.938 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9804, allocations: 7.938 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9804, allocations: 0 / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.9806, allocations: 105.2 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.9806, allocations: 88.95 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.9807, allocations: 3.938 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.9807, allocations: 3.984 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.9807, allocations: 8 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.9808, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.9808, allocations: 79.28 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9808, allocations: 0 / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001954/0.981, allocations: 12.09 kB / 1.214 GB, free: 8.039 MB / 0.9356 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.0001205/0.9811, allocations: 111.1 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.9813, allocations: 35.98 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9813, allocations: 0 / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.9813, allocations: 23.94 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.9816, allocations: 7.984 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.9819, allocations: 156.3 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.9822, allocations: 0.6768 MB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.9823, allocations: 15.44 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.9823, allocations: 0 / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.002006/0.9843, allocations: 0.599 MB / 1.215 GB, free: 6.355 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches