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.00153/0.00153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001752/0.001752, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.36 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2882, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.00278/0.291, allocations: 1.341 MB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2922, allocations: 0.7904 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.2923, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.2923, allocations: 3.984 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.2924, allocations: 3.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.2928, allocations: 139.5 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.2928, allocations: 27.86 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2929, allocations: 7.984 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.2929, allocations: 4 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.293, allocations: 15.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.293, allocations: 4 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.2935, allocations: 291.5 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2935, allocations: 0 / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.2935, allocations: 19.92 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.2939, allocations: 164 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2939, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2939, allocations: 3.984 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.2939, allocations: 0 / 1.055 GB, free: 6.051 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.0004753/0.2944, allocations: 367.4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2944, allocations: 12.03 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.2947, allocations: 20.91 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2948, allocations: 168.3 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2948, allocations: 384 / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2949, allocations: 4.375 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.295, allocations: 46.25 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.295, allocations: 192 / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.295, allocations: 3.938 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.295, allocations: 11.94 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.2951, allocations: 19.98 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.2953, allocations: 161.6 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2954, allocations: 74.62 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.2954, allocations: 20.84 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2955, allocations: 7.984 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2955, allocations: 38.56 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2955, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001937/0.2957, allocations: 81.53 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2958, allocations: 51.41 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.2958, allocations: 93.86 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.2959, allocations: 29.64 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.2959, allocations: 80.14 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2959, allocations: 19.73 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.296, allocations: 25.84 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2961, allocations: 310.8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.2961, allocations: 11.98 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.2962, allocations: 12 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.2962, allocations: 36.84 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2962, allocations: 0 / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.5e-05/0.2963, allocations: 65.59 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2964, allocations: 8 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2964, allocations: 3.938 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2964, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2965, allocations: 19.92 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2966, allocations: 0 / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.2966, allocations: 0 / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2966, allocations: 4 kB / 1.057 GB, free: 4.047 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.46e-05/0.2967, allocations: 111.4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.2967, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.2969, allocations: 93.56 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2969, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2969, allocations: 7.922 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.297, allocations: 448 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2971, allocations: 169.5 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2971, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.2972, allocations: 27.92 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2972, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2972, allocations: 7.938 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2972, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2972, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2974, allocations: 93.12 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.2974, allocations: 85.03 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2975, allocations: 3.938 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.2975, allocations: 4 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.2975, allocations: 3.938 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2976, allocations: 15.98 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.2976, allocations: 75.28 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2976, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001861/0.2978, allocations: 8 kB / 1.057 GB, free: 3.254 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.0001222/0.2979, allocations: 99.25 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.298, allocations: 39.97 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.298, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.2981, allocations: 32.02 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2983, allocations: 5.031 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.2987, allocations: 140.3 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.299, allocations: 0.677 MB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.163e-05/0.299, allocations: 15.97 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.2991, allocations: 11.44 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.2991, allocations: 0 / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of Templates: time 0.002608/0.3017, allocations: 0.5393 MB / 1.059 GB, free: 1.656 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/jenkins/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