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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.004928/0.004928, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001163/0.001163, allocations: 199 kB / 16.79 MB, free: 6.254 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 69.89 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3613, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.003093/0.3645, allocations: 1.352 MB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3658, allocations: 0.7748 MB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.3659, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.3659, allocations: 3.938 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.366, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.3666, allocations: 151.4 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.3667, allocations: 23.92 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3667, allocations: 0 / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.3668, allocations: 11.92 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.3669, allocations: 11.98 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.3669, allocations: 4 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005157/0.3674, allocations: 287.5 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.3674, allocations: 8 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.3675, allocations: 7.938 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3677, allocations: 112.1 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3678, allocations: 7.938 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3678, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3678, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 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.0005257/0.3683, allocations: 375.3 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3684, allocations: 11.97 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.3686, allocations: 20.91 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3688, allocations: 164.3 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3688, allocations: 384 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3688, allocations: 4.375 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3689, allocations: 50.23 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.369, allocations: 4.188 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.369, allocations: 3.938 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.369, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.3691, allocations: 27.98 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3692, allocations: 153.7 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3694, allocations: 66.59 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.3694, allocations: 24.89 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3695, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3695, allocations: 34.56 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3695, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002189/0.3698, allocations: 89.45 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3698, allocations: 51.41 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.3699, allocations: 89.86 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3699, allocations: 29.7 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.3699, allocations: 84.27 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.37, allocations: 15.75 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.37, allocations: 21.7 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3701, allocations: 314.8 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.3702, allocations: 8 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.3702, allocations: 20.23 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.3703, allocations: 32.86 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3703, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001119/0.3704, allocations: 73.47 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3704, allocations: 8 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3704, allocations: 7.938 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3704, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3706, allocations: 19.97 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3706, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.3706, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3706, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 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 8.641e-05/0.3707, allocations: 117.8 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.3708, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.371, allocations: 101.4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.371, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.371, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.371, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.3711, allocations: 169.5 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3711, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.3712, allocations: 15.98 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3713, allocations: 8 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3713, allocations: 3.938 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3713, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3713, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.3714, allocations: 105.1 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.3715, allocations: 81.11 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3715, allocations: 4.125 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.3716, allocations: 11.98 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.3716, allocations: 8 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3716, allocations: 4 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.3717, allocations: 75.28 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3717, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001931/0.3719, allocations: 8 kB / 1.058 GB, free: 2.746 MB / 0.8106 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.0001155/0.372, allocations: 107.2 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.3721, allocations: 31.98 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3721, allocations: 4.094 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.3722, allocations: 23.94 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3724, allocations: 8 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.3728, allocations: 170 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.373, allocations: 0.677 MB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.3731, allocations: 15.44 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3731, allocations: 4 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.002028/0.3751, allocations: 0.5856 MB / 1.059 GB, free: 1.062 MB / 0.8106 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