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.009445/0.009445, allocations: 99.67 kB / 15.73 MB, free: 6.059 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.002209/0.002209, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.499/2.499, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.83 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002518/0.3688, allocations: 1.284 MB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3701, allocations: 0.7686 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.3701, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.3702, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.3702, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.3707, allocations: 175.2 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.3708, allocations: 23.86 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.3709, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.3709, allocations: 8 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.371, allocations: 15.91 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.371, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.3715, allocations: 283.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.3715, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.3715, allocations: 7.938 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.3718, allocations: 175.5 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3719, allocations: 0 / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3719, allocations: 4 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.3719, allocations: 0 / 1.091 GB, free: 14.88 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.0004442/0.3723, allocations: 368.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3724, allocations: 12.03 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.3726, allocations: 20.86 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3728, allocations: 168.4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.3728, allocations: 4.375 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3728, allocations: 8.375 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3729, allocations: 50.19 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.373, allocations: 192 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.373, allocations: 3.938 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.373, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.373, allocations: 23.98 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.3732, allocations: 169.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3734, allocations: 62.62 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.3734, allocations: 28.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3734, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3735, allocations: 46.42 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.3735, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0001919/0.3737, allocations: 73.62 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3737, allocations: 55.41 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.3738, allocations: 93.86 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3738, allocations: 29.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.3738, allocations: 80.14 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3739, allocations: 19.84 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3739, allocations: 17.72 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.374, allocations: 314.8 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.3741, allocations: 11.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.3741, allocations: 15.94 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.3742, allocations: 36.97 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3742, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.714e-05/0.3743, allocations: 65.64 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3743, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3743, allocations: 4.375 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3743, allocations: 3.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3745, allocations: 12 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3745, allocations: 3.984 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.3745, allocations: 11.94 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3745, allocations: 7.938 kB / 1.092 GB, free: 12.86 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 0.0001017/0.3746, allocations: 117.8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.3746, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3749, allocations: 85.58 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3749, allocations: 4 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3749, allocations: 0 / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3749, allocations: 3.984 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.375, allocations: 169.6 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.375, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.3751, allocations: 15.94 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3751, allocations: 3.984 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3752, allocations: 7.938 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3752, allocations: 7.938 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3752, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.3753, allocations: 85.12 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.3754, allocations: 89.09 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3754, allocations: 3.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.3755, allocations: 4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.3755, allocations: 4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3755, allocations: 3.984 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.3755, allocations: 79.28 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 3.938 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00019/0.3757, allocations: 12 kB / 1.093 GB, free: 12.07 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.0001105/0.3759, allocations: 103.3 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.647e-05/0.376, allocations: 35.98 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.376, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.376, allocations: 27.92 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3762, allocations: 7.562 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.3765, allocations: 138.6 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3769, allocations: 0.6768 MB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.3769, allocations: 12.22 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.3769, allocations: 11.44 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3769, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of Templates: time 0.002585/0.3795, allocations: 0.5706 MB / 1.095 GB, free: 10.45 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