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.0008956/0.0008958, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.909/2.909, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004111, allocations: 11.39 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3675, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001631/0.3692, allocations: 1.006 MB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3705, allocations: 0.7671 MB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.3706, allocations: 0 / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.3706, allocations: 0 / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.3707, allocations: 11.91 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.3713, allocations: 147.5 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.3713, allocations: 27.86 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.3714, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.3714, allocations: 8 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.3715, allocations: 15.92 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.3715, allocations: 0 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.3721, allocations: 291.5 kB / 1.062 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3721, allocations: 3.984 kB / 1.062 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.3721, allocations: 37.64 kB / 1.062 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.3724, allocations: 112.1 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3724, allocations: 4 kB / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3724, allocations: 0 / 1.062 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3724, allocations: 0 / 1.062 GB, free: 2.551 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.0004578/0.3729, allocations: 363.3 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3729, allocations: 11.97 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.3732, allocations: 20.91 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3733, allocations: 164.4 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3734, allocations: 8.375 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3734, allocations: 384 / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3735, allocations: 50.19 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3735, allocations: 4.188 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3736, allocations: 3.938 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.3736, allocations: 3.938 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.3736, allocations: 27.97 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.3738, allocations: 157.7 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.374, allocations: 62.66 kB / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.374, allocations: 24.86 kB / 1.063 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3741, allocations: 8.016 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3741, allocations: 34.5 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3741, allocations: 0 / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002535/0.3744, allocations: 81.53 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3744, allocations: 51.41 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.3745, allocations: 97.86 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3746, allocations: 25.7 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.3746, allocations: 80.14 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.3747, allocations: 23.73 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.3747, allocations: 9.719 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3748, allocations: 314.8 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.3749, allocations: 15.98 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.3749, allocations: 12 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.375, allocations: 41.28 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.375, allocations: 4 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001273/0.3752, allocations: 65.59 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3752, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3752, allocations: 3.938 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3752, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3754, allocations: 16 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3754, allocations: 3.938 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.3754, allocations: 7.984 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3755, allocations: 0 / 1.063 GB, free: 0.5586 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 0.0001093/0.3756, allocations: 117.8 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.3756, allocations: 0 / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.3758, allocations: 85.58 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3759, allocations: 4 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3759, allocations: 0 / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3759, allocations: 7.984 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3761, allocations: 173.5 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3761, allocations: 0 / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.3762, allocations: 12 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3762, allocations: 0 / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3762, allocations: 11.86 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3762, allocations: 4 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3762, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3764, allocations: 89.12 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.3765, allocations: 93.03 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3766, allocations: 3.938 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.3766, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3767, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3767, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.3767, allocations: 83.27 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3767, allocations: 0 / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002/0.3769, allocations: 12 kB / 1.064 GB, free: 15.77 MB / 0.8262 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.0001607/0.3771, allocations: 103.3 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.3773, allocations: 39.97 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3773, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.3773, allocations: 23.98 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3776, allocations: 7.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.378, allocations: 182.5 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3784, allocations: 0.6789 MB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.3785, allocations: 15.42 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3785, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.002597/0.3811, allocations: 0.5944 MB / 1.066 GB, free: 14.07 MB / 0.8262 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